bitfab 0.68.4 → 0.68.6

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.
Files changed (68) hide show
  1. package/dist/{autoTrace-D3-OZcmR.cjs → autoTrace-DUmR1KJ8.cjs} +417 -62
  2. package/dist/autoTrace-DUmR1KJ8.cjs.map +1 -0
  3. package/dist/{autoTrace-ghnojSj9.js → autoTrace-DVnpnuMb.js} +322 -57
  4. package/dist/autoTrace-DVnpnuMb.js.map +1 -0
  5. package/dist/autoTrace.cjs +3 -1
  6. package/dist/autoTrace.d.cts +29 -1
  7. package/dist/autoTrace.d.ts +29 -1
  8. package/dist/autoTrace.js +1 -1
  9. package/dist/{babelPlugin-0uOq-j1Q.cjs → babelPlugin-C0Im6AZ2.cjs} +37 -14
  10. package/dist/babelPlugin-C0Im6AZ2.cjs.map +1 -0
  11. package/dist/{babelPlugin-Muq0uuuu.js → babelPlugin-hS2Hb2vt.js} +37 -14
  12. package/dist/babelPlugin-hS2Hb2vt.js.map +1 -0
  13. package/dist/baml.cjs +1 -1
  14. package/dist/baml.js +1 -1
  15. package/dist/{bamlPeer-BUoZgNxZ.cjs → bamlPeer-5Ohpq8q9.cjs} +3 -17
  16. package/dist/bamlPeer-5Ohpq8q9.cjs.map +1 -0
  17. package/dist/{bamlPeer-CIVwS68E.js → bamlPeer-Dyeb3e5o.js} +3 -11
  18. package/dist/bamlPeer-Dyeb3e5o.js.map +1 -0
  19. package/dist/{http-C-HrwUb8.cjs → http-CARmid5D.cjs} +4 -4
  20. package/dist/{http-C-HrwUb8.cjs.map → http-CARmid5D.cjs.map} +1 -1
  21. package/dist/{http-BGY4ULH5.js → http-CYIjoMdj.js} +3 -3
  22. package/dist/{http-BGY4ULH5.js.map → http-CYIjoMdj.js.map} +1 -1
  23. package/dist/{index-BcGxu85i.d.cts → index-BuP59-AI.d.cts} +189 -4
  24. package/dist/{index-BcGxu85i.d.ts → index-BuP59-AI.d.ts} +189 -4
  25. package/dist/index.cjs +2 -2
  26. package/dist/index.d.cts +2 -2
  27. package/dist/index.d.ts +2 -2
  28. package/dist/index.js +2 -2
  29. package/dist/node.cjs +3 -3
  30. package/dist/node.d.cts +2 -2
  31. package/dist/node.d.ts +2 -2
  32. package/dist/node.js +3 -3
  33. package/dist/optionalPeer-CUH756lt.cjs +17 -0
  34. package/dist/optionalPeer-CUH756lt.cjs.map +1 -0
  35. package/dist/optionalPeer-CczrzrXx.js +12 -0
  36. package/dist/optionalPeer-CczrzrXx.js.map +1 -0
  37. package/dist/{registryCommand-Dk4Y1ZgW.js → registryCommand-D7bfo0Au.js} +179 -8
  38. package/dist/registryCommand-D7bfo0Au.js.map +1 -0
  39. package/dist/replayCli.js +1 -1
  40. package/dist/seedCli.js +1 -1
  41. package/dist/{src-BG2_8Fpf.cjs → src-C3H1v_hp.cjs} +62 -81
  42. package/dist/src-C3H1v_hp.cjs.map +1 -0
  43. package/dist/{src-Cmfs_7Ib.js → src-DgeGOhjN.js} +51 -70
  44. package/dist/src-DgeGOhjN.js.map +1 -0
  45. package/dist/transform/babel.cjs +1 -1
  46. package/dist/transform/babel.js +1 -1
  47. package/dist/transform/loaderRuntime.cjs +2 -2
  48. package/dist/transform/loaderRuntime.js +2 -2
  49. package/dist/transform/nodeLoader.js +36 -13
  50. package/dist/transform/nodeLoader.js.map +1 -1
  51. package/dist/transform/swc.cjs +1 -1
  52. package/dist/transform/swc.js +1 -1
  53. package/dist/transform/unplugin.cjs +2 -2
  54. package/dist/transform/unplugin.js +2 -2
  55. package/dist/{transform-CAJyLLe2.js → transform-BL1fJW-C.js} +2 -2
  56. package/dist/{transform-CAJyLLe2.js.map → transform-BL1fJW-C.js.map} +1 -1
  57. package/dist/{transform-ClCOpCZ2.cjs → transform-C4H7TKW-.cjs} +2 -2
  58. package/dist/{transform-ClCOpCZ2.cjs.map → transform-C4H7TKW-.cjs.map} +1 -1
  59. package/package.json +1 -1
  60. package/dist/autoTrace-D3-OZcmR.cjs.map +0 -1
  61. package/dist/autoTrace-ghnojSj9.js.map +0 -1
  62. package/dist/babelPlugin-0uOq-j1Q.cjs.map +0 -1
  63. package/dist/babelPlugin-Muq0uuuu.js.map +0 -1
  64. package/dist/bamlPeer-BUoZgNxZ.cjs.map +0 -1
  65. package/dist/bamlPeer-CIVwS68E.js.map +0 -1
  66. package/dist/registryCommand-Dk4Y1ZgW.js.map +0 -1
  67. package/dist/src-BG2_8Fpf.cjs.map +0 -1
  68. package/dist/src-Cmfs_7Ib.js.map +0 -1
package/dist/index.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as ReplayBranch, $n as ExperimentJitter, $r as MockOverrideCtx, $t as LabelsClient, A as SpanMethodDecoratorContext, An as SavedTraceAssertion, Ar as BitfabVercelAiHandler, At as GraderLabel, B as ActiveSpanContext, Bn as TraceAssertion, Br as CategorySummary, Bt as ArchiveVerdictTarget, C as NodeMethodDecorator, Ci as Justification, Cn as SaveAssertion, Cr as RemoveDatasetTracesResult, Ct as BitfabAgentMiddleware, D as SeedCaseOptions, Dn as SaveScenarioData, Dr as SaveDatasetResult, Dt as BitfabLangGraphCallbackHandler, E as ReseedResult, En as SaveScenarioActualOutcome, Er as SaveDatasetParams, Et as LangGraphIntegrationOptions, F as WrappedBamlFn, Fn as ScenarioDataAppend, Fr as AssertionCategoriesClient, Ft as GraderVerdictOutcome, G as SpanListField, Gn as TraceSearchParams, Gr as HttpClient, Gt as HumanVerdictUpdate, H as TraceResponse, Hn as TraceAssertionsResult, Hr as SaveCategoryParams, Ht as HumanLabelOutcome, I as getCurrentReplayBranch, In as ScenarioDataOrigin, Ir as AssertionCategory, It as GraderVerdictSource, J as SpansClient, Jn as TraceTargetOccurrence, Jr as SpanType, Jt as LabelOutcome, K as SpanListParams, Kn as TraceSearchResult, Kr as SpanLookup, Kt as LabelAction, L as getCurrentSpan, Ln as ScenarioHistoryEntry, Lr as AssertionCategorySummary, Lt as GraderVerdictUpdate, M as WrapBAMLOptions, Mn as ScenarioAction, Mr as VercelGenerateResult, Mt as GraderLabelSource, N as WrapJevOptions, Nn as ScenarioActualOutcome, Nr as VercelStreamResult, Nt as GraderLabelUpdate, O as SeedRunOptions, On as SaveScenarioHistoryEntry, Or as UpdateDatasetParams, Ot as GetGraderLabelsParams, P as WrapOpenRouterOptions, Pn as ScenarioData, Pr as BitfabClaudeAgentHandler, Pt as GraderVerdict, Q as RivetIntegrationOptions, Qn as ExperimentCodeChangeTotals, Qr as MockOverride, Qt as LabelUpdate, R as getCurrentTrace, Rn as ScenarioSource, Rr as CategoriesClient, Rt as GradersClient, S as DetachedTrace, Si as Assignee, Sn as GenerateAssertionsOptions, Sr as RemoveDatasetGradersResult, St as BitfabOpenAIAgentHandler, T as ReseedOptions, Tn as SaveAssertionsParams, Tr as RerunGradersResult, Tt as BitfabLangGraphIntegration, U as TracingProcessor, Un as TraceAssertionsUpdate, Ur as CapturedSpan, Ut as HumanLabelUpdate, V as BitfabOpenAITracingProcessor, Vn as TraceAssertionSource, Vr as SaveAssertionCategoryParams, Vt as AssertionVerdict, W as ListedSpan, Wn as TraceSearchFilters, Wr as CodeChangeFile, Wt as HumanVerdictOutcome, X as RivetContextLike, Xn as Experiment, Xr as flushTraces, Xt as LabelStatus, Y as BitfabRivetIntegration, Yn as TracesClient, Yr as TokenUsage, Yt as LabelSource, Z as RivetEffectType, Zn as ExperimentCategoryTally, Zr as DbBranchTimings, Zt as LabelTarget, _ as BitfabConfig, _i as BamlExecutionResult, _n as AssertionGenerationTimeoutError, _r as GraderRerunProgress, _t as serializeReplayResult, a as ReplayRegistryOptions, ai as SpanNodeMeta, an as VerdictConfidence, ar as ExperimentTally, at as MockStrategy, b as CurrentSpan, bi as ApprovalState, bn as AssertionRewriteStatus, br as GraderRerunTimeoutError, bt as OrganizationMember, c as SeedResult, ci as DbSnapshotConfig, cn as VerdictStatus, cr as ListExperimentsParams, ct as ReplayItem, d as seedFromRegistry, di as SUPPORTED_PROVIDERS, dn as VerdictsClient, dr as Dataset, dt as ReplayOptions, ei as MockOverrideInput, en as PassFailVerdict, er as ExperimentPage, et as AdaptContext, f as finalizers, fi as ReplayNodeIdentity, fn as ArchiveAssertionsParams, fr as DatasetGraderRef, ft as ReplayProgress, g as Bitfab, gi as AllowedEnvVars, gn as AssertionGenerationStatus, gr as GraderRerunError, gt as reportReplayProgress, h as CommitRef, hi as SelectiveReplayReport, hn as AssertionGenerationError, hr as GraderRerun, ht as TraceIngestionType, i as ReplayRegistryContext, ii as NodeMatcher, in as VerdictAction, ir as ExperimentStatus, it as DbBranchReplayError, j as SpanOptions, jn as Scenario, jr as VercelCallParams, jt as GraderLabelOutcome, k as SpanMethodDecorator, kn as SaveScenarioParams, kr as BitfabLanguageModelMiddleware, kt as GetGraderVerdictsParams, l as defineReplayRegistry, li as DbSnapshotProvider, ln as VerdictTarget, lr as AddDatasetGradersResult, lt as ReplayItemFinishProgress, m as __version__, mi as SelectiveReplayOptions, mn as AssertionGeneration, mr as DatasetsClient, mt as ReplayResult, n as ReplayRegistration, ni as MockValue, nn as TraceVerdicts, nr as ExperimentRollupResult, nt as BITFAB_PROGRESS_PREFIX, o as ReseedRegistryResult, oi as BitfabError, on as VerdictOutcome, or as ExperimentTotals, ot as ReplayError, p as DEFAULT_SERVICE_URL, pi as SelectiveReplayDecision, pn as AssertionEvidenceParameter, pr as DatasetTraceIds, pt as ReplayProgressItem, q as SpanListResult, qn as TraceTarget, qr as SpanOccurrence, qt as LabelConfidence, r as ReplayRegistry, ri as NO_MOCK_OVERRIDE, rn as Verdict, rr as ExperimentRunBy, rt as DbBranchOptions, s as SeedCase, si as MixedTracingError, sn as VerdictSource, sr as ExperimentsClient, st as ReplayExperiment, t as ReplayOptionsFactory, ti as MockOverrideResolver, tn as TraceLabels, tr as ExperimentRollup, tt as AdaptInputsFn, u as reseedFromRegistry, ui as DbSnapshotRef, un as VerdictUpdate, ur as AddDatasetTracesResult, ut as ReplayItemStartProgress, v as BitfabFunction, vi as ProviderDefinition, vn as AssertionLabelEvidence, vr as GraderRerunResult, vt as ReplayInterrupt, w as NodeOptions, wi as JustificationSpan, wn as SaveAssertionsAllParams, wr as RerunGradersOptions, wt as BitfabLangGraphAgent, x as CurrentTrace, xi as Approver, xn as AssertionVerdictEvidence, xr as ListDatasetsParams, xt as OrganizationMembersClient, y as CaptureWhen, yi as ApprovalFields, yn as AssertionRewrite, yr as GraderRerunStatus, yt as ReplayInterruptSignal, z as CaptureSurface, zn as ScenarioTrigger, zr as Category, zt as ArchiveLabelTarget } from "./index-BcGxu85i.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 AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioHistoryEntry, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
1
+ import { $ as RivetEffectType, $n as TraceTargetOccurrence, $r as SpanType, $t as LabelTarget, A as SpanMethodDecoratorContext, An as SaveScenarioHistoryEntry, Ar as RerunGradersResult, At as GetGraderLabelsParams, B as getCurrentTrace, Bn as ScenarioHistoryEntry, Br as AssertionCategoriesClient, Bt as GradersClient, C as NodeMethodDecorator, Ci as ProviderDefinition, Cn as AssertionVerdictEvidence, Cr as GraderRerunResult, Ct as OrganizationMembersClient, D as SeedCaseOptions, Di as Assignee, Dn as SaveAssertionsParams, Dr as RemoveDatasetGradersResult, Dt as BitfabLangGraphIntegration, E as ReseedResult, Ei as Approver, En as SaveAssertionsAllParams, Er as ListDatasetsParams, Et as BitfabLangGraphAgent, F as WrapOpenAIResponsesOptions, Fn as ScenarioActualOutcome, Fr as BitfabVercelAiHandler, Ft as GraderLabelUpdate, G as TracingProcessor, Gn as TraceAssertion, Gr as CategorySummary, Gt as HumanLabelUpdate, H as ActiveSpanContext, Hn as ScenarioRecordInput, Hr as AssertionCategorySummary, Ht as ArchiveVerdictTarget, I as WrapOpenRouterOptions, In as ScenarioData, Ir as VercelCallParams, It as GraderVerdict, J as SpanListParams, Jn as TraceAssertionsUpdate, Jr as CapturedSpan, Jt as LabelAction, K as ListedSpan, Kn as TraceAssertionSource, Kr as SaveAssertionCategoryParams, Kt as HumanVerdictOutcome, L as WrappedBamlFn, Ln as ScenarioDataAppend, Lr as VercelGenerateResult, Lt as GraderVerdictOutcome, M as WrapAnthropicOptions, Mn as SavedTraceAssertion, Mr as SaveDatasetResult, Mt as GraderLabel, N as WrapBAMLOptions, Nn as Scenario, Nr as UpdateDatasetParams, Nt as GraderLabelOutcome, O as SeedRunOptions, Oi as Justification, On as SaveScenarioActualOutcome, Or as RemoveDatasetTracesResult, Ot as LangGraphIntegrationOptions, P as WrapJevOptions, Pn as ScenarioAction, Pr as BitfabLanguageModelMiddleware, Pt as GraderLabelSource, Q as RivetContextLike, Qn as TraceTarget, Qr as SpanOccurrence, Qt as LabelStatus, R as getCurrentReplayBranch, Rn as ScenarioDataOrigin, Rr as VercelStreamResult, Rt as GraderVerdictSource, S as DetachedTrace, Si as BamlExecutionResult, Sn as AssertionRewriteStatus, Sr as GraderRerunProgress, St as OrganizationMember, T as ReseedOptions, Ti as ApprovalState, Tn as SaveAssertion, Tr as GraderRerunTimeoutError, Tt as BitfabAgentMiddleware, U as BitfabOpenAITracingProcessor, Un as ScenarioSource, Ur as CategoriesClient, Ut as AssertionVerdict, V as CaptureSurface, Vn as ScenarioRecord, Vr as AssertionCategory, Vt as ArchiveLabelTarget, W as TraceResponse, Wn as ScenarioTrigger, Wr as Category, Wt as HumanLabelOutcome, X as SpansClient, Xn as TraceSearchParams, Xr as HttpClient, Xt as LabelOutcome, Y as SpanListResult, Yn as TraceSearchFilters, Yr as CodeChangeFile, Yt as LabelConfidence, Z as BitfabRivetIntegration, Zn as TraceSearchResult, Zr as SpanLookup, Zt as LabelSource, _ as BitfabConfig, _i as ReplayNodeIdentity, _n as AssertionGenerationError, _r as DatasetGraderRef, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as MockOverrideInput, an as Verdict, ar as ExperimentPage, at as DbBranchOptions, b as CurrentSpan, bi as SelectiveReplayReport, bn as AssertionLabelEvidence, br as GraderRerun, bt as ReplayInterrupt, c as SeedResult, ci as NO_MOCK_OVERRIDE, cn as VerdictOutcome, cr as ExperimentRunBy, ct as ReplayError, d as seedFromRegistry, di as BitfabError, dn as VerdictTarget, dr as ExperimentTotals, dt as ReplayItemFinishProgress, ei as TokenUsage, en as LabelUpdate, er as TracesClient, et as RivetIntegrationOptions, f as finalizers, fi as MixedTracingError, fn as VerdictUpdate, fr as ExperimentsClient, ft as ReplayItemStartProgress, g as Bitfab, gi as SUPPORTED_PROVIDERS, gn as AssertionGeneration, gr as Dataset, gt as ReplayResult, h as CommitRef, hi as DbSnapshotRef, hn as AssertionEvidenceParameter, hr as AddDatasetTracesResult, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as MockOverrideCtx, in as TraceVerdicts, ir as ExperimentJitter, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, jn as SaveScenarioParams, jr as SaveDatasetParams, jt as GetGraderVerdictsParams, k as SpanMethodDecorator, ki as JustificationSpan, kn as SaveScenarioData, kr as RerunGradersOptions, kt as BitfabLangGraphCallbackHandler, l as defineReplayRegistry, li as NodeMatcher, ln as VerdictSource, lr as ExperimentStatus, lt as ReplayExperiment, m as __version__, mi as DbSnapshotProvider, mn as ArchiveAssertionsParams, mr as AddDatasetGradersResult, mt as ReplayProgress, n as ReplayRegistration, ni as DbBranchTimings, nn as PassFailVerdict, nr as ExperimentCategoryTally, nt as AdaptContext, o as ReseedRegistryResult, oi as MockOverrideResolver, on as VerdictAction, or as ExperimentRollup, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as DbSnapshotConfig, pn as VerdictsClient, pr as ListExperimentsParams, pt as ReplayOptions, q as SpanListField, qn as TraceAssertionsResult, qr as SaveCategoryParams, qt as HumanVerdictUpdate, r as ReplayRegistry, ri as MockOverride, rn as TraceLabels, rr as ExperimentCodeChangeTotals, rt as AdaptInputsFn, s as SeedCase, si as MockValue, sn as VerdictConfidence, sr as ExperimentRollupResult, st as MockStrategy, t as ReplayOptionsFactory, ti as flushTraces, tn as LabelsClient, tr as Experiment, tt as ReplayBranch, u as reseedFromRegistry, ui as SpanNodeMeta, un as VerdictStatus, ur as ExperimentTally, ut as ReplayItem, v as BitfabFunction, vi as SelectiveReplayDecision, vn as AssertionGenerationStatus, vr as DatasetTraceIds, vt as reportReplayProgress, w as NodeOptions, wi as ApprovalFields, wn as GenerateAssertionsOptions, wr as GraderRerunStatus, wt as BitfabOpenAIAgentHandler, x as CurrentTrace, xi as AllowedEnvVars, xn as AssertionRewrite, xr as GraderRerunError, xt as ReplayInterruptSignal, y as CaptureWhen, yi as SelectiveReplayOptions, yn as AssertionGenerationTimeoutError, yr as DatasetsClient, yt as serializeReplayResult, z as getCurrentSpan, zn as ScenarioDataSources, zr as BitfabClaudeAgentHandler, zt as GraderVerdictUpdate } from "./index-BuP59-AI.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 AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, 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 VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as ReplayBranch, $n as ExperimentJitter, $r as MockOverrideCtx, $t as LabelsClient, A as SpanMethodDecoratorContext, An as SavedTraceAssertion, Ar as BitfabVercelAiHandler, At as GraderLabel, B as ActiveSpanContext, Bn as TraceAssertion, Br as CategorySummary, Bt as ArchiveVerdictTarget, C as NodeMethodDecorator, Ci as Justification, Cn as SaveAssertion, Cr as RemoveDatasetTracesResult, Ct as BitfabAgentMiddleware, D as SeedCaseOptions, Dn as SaveScenarioData, Dr as SaveDatasetResult, Dt as BitfabLangGraphCallbackHandler, E as ReseedResult, En as SaveScenarioActualOutcome, Er as SaveDatasetParams, Et as LangGraphIntegrationOptions, F as WrappedBamlFn, Fn as ScenarioDataAppend, Fr as AssertionCategoriesClient, Ft as GraderVerdictOutcome, G as SpanListField, Gn as TraceSearchParams, Gr as HttpClient, Gt as HumanVerdictUpdate, H as TraceResponse, Hn as TraceAssertionsResult, Hr as SaveCategoryParams, Ht as HumanLabelOutcome, I as getCurrentReplayBranch, In as ScenarioDataOrigin, Ir as AssertionCategory, It as GraderVerdictSource, J as SpansClient, Jn as TraceTargetOccurrence, Jr as SpanType, Jt as LabelOutcome, K as SpanListParams, Kn as TraceSearchResult, Kr as SpanLookup, Kt as LabelAction, L as getCurrentSpan, Ln as ScenarioHistoryEntry, Lr as AssertionCategorySummary, Lt as GraderVerdictUpdate, M as WrapBAMLOptions, Mn as ScenarioAction, Mr as VercelGenerateResult, Mt as GraderLabelSource, N as WrapJevOptions, Nn as ScenarioActualOutcome, Nr as VercelStreamResult, Nt as GraderLabelUpdate, O as SeedRunOptions, On as SaveScenarioHistoryEntry, Or as UpdateDatasetParams, Ot as GetGraderLabelsParams, P as WrapOpenRouterOptions, Pn as ScenarioData, Pr as BitfabClaudeAgentHandler, Pt as GraderVerdict, Q as RivetIntegrationOptions, Qn as ExperimentCodeChangeTotals, Qr as MockOverride, Qt as LabelUpdate, R as getCurrentTrace, Rn as ScenarioSource, Rr as CategoriesClient, Rt as GradersClient, S as DetachedTrace, Si as Assignee, Sn as GenerateAssertionsOptions, Sr as RemoveDatasetGradersResult, St as BitfabOpenAIAgentHandler, T as ReseedOptions, Tn as SaveAssertionsParams, Tr as RerunGradersResult, Tt as BitfabLangGraphIntegration, U as TracingProcessor, Un as TraceAssertionsUpdate, Ur as CapturedSpan, Ut as HumanLabelUpdate, V as BitfabOpenAITracingProcessor, Vn as TraceAssertionSource, Vr as SaveAssertionCategoryParams, Vt as AssertionVerdict, W as ListedSpan, Wn as TraceSearchFilters, Wr as CodeChangeFile, Wt as HumanVerdictOutcome, X as RivetContextLike, Xn as Experiment, Xr as flushTraces, Xt as LabelStatus, Y as BitfabRivetIntegration, Yn as TracesClient, Yr as TokenUsage, Yt as LabelSource, Z as RivetEffectType, Zn as ExperimentCategoryTally, Zr as DbBranchTimings, Zt as LabelTarget, _ as BitfabConfig, _i as BamlExecutionResult, _n as AssertionGenerationTimeoutError, _r as GraderRerunProgress, _t as serializeReplayResult, a as ReplayRegistryOptions, ai as SpanNodeMeta, an as VerdictConfidence, ar as ExperimentTally, at as MockStrategy, b as CurrentSpan, bi as ApprovalState, bn as AssertionRewriteStatus, br as GraderRerunTimeoutError, bt as OrganizationMember, c as SeedResult, ci as DbSnapshotConfig, cn as VerdictStatus, cr as ListExperimentsParams, ct as ReplayItem, d as seedFromRegistry, di as SUPPORTED_PROVIDERS, dn as VerdictsClient, dr as Dataset, dt as ReplayOptions, ei as MockOverrideInput, en as PassFailVerdict, er as ExperimentPage, et as AdaptContext, f as finalizers, fi as ReplayNodeIdentity, fn as ArchiveAssertionsParams, fr as DatasetGraderRef, ft as ReplayProgress, g as Bitfab, gi as AllowedEnvVars, gn as AssertionGenerationStatus, gr as GraderRerunError, gt as reportReplayProgress, h as CommitRef, hi as SelectiveReplayReport, hn as AssertionGenerationError, hr as GraderRerun, ht as TraceIngestionType, i as ReplayRegistryContext, ii as NodeMatcher, in as VerdictAction, ir as ExperimentStatus, it as DbBranchReplayError, j as SpanOptions, jn as Scenario, jr as VercelCallParams, jt as GraderLabelOutcome, k as SpanMethodDecorator, kn as SaveScenarioParams, kr as BitfabLanguageModelMiddleware, kt as GetGraderVerdictsParams, l as defineReplayRegistry, li as DbSnapshotProvider, ln as VerdictTarget, lr as AddDatasetGradersResult, lt as ReplayItemFinishProgress, m as __version__, mi as SelectiveReplayOptions, mn as AssertionGeneration, mr as DatasetsClient, mt as ReplayResult, n as ReplayRegistration, ni as MockValue, nn as TraceVerdicts, nr as ExperimentRollupResult, nt as BITFAB_PROGRESS_PREFIX, o as ReseedRegistryResult, oi as BitfabError, on as VerdictOutcome, or as ExperimentTotals, ot as ReplayError, p as DEFAULT_SERVICE_URL, pi as SelectiveReplayDecision, pn as AssertionEvidenceParameter, pr as DatasetTraceIds, pt as ReplayProgressItem, q as SpanListResult, qn as TraceTarget, qr as SpanOccurrence, qt as LabelConfidence, r as ReplayRegistry, ri as NO_MOCK_OVERRIDE, rn as Verdict, rr as ExperimentRunBy, rt as DbBranchOptions, s as SeedCase, si as MixedTracingError, sn as VerdictSource, sr as ExperimentsClient, st as ReplayExperiment, t as ReplayOptionsFactory, ti as MockOverrideResolver, tn as TraceLabels, tr as ExperimentRollup, tt as AdaptInputsFn, u as reseedFromRegistry, ui as DbSnapshotRef, un as VerdictUpdate, ur as AddDatasetTracesResult, ut as ReplayItemStartProgress, v as BitfabFunction, vi as ProviderDefinition, vn as AssertionLabelEvidence, vr as GraderRerunResult, vt as ReplayInterrupt, w as NodeOptions, wi as JustificationSpan, wn as SaveAssertionsAllParams, wr as RerunGradersOptions, wt as BitfabLangGraphAgent, x as CurrentTrace, xi as Approver, xn as AssertionVerdictEvidence, xr as ListDatasetsParams, xt as OrganizationMembersClient, y as CaptureWhen, yi as ApprovalFields, yn as AssertionRewrite, yr as GraderRerunStatus, yt as ReplayInterruptSignal, z as CaptureSurface, zn as ScenarioTrigger, zr as Category, zt as ArchiveLabelTarget } from "./index-BcGxu85i.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 AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioHistoryEntry, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
1
+ import { $ as RivetEffectType, $n as TraceTargetOccurrence, $r as SpanType, $t as LabelTarget, A as SpanMethodDecoratorContext, An as SaveScenarioHistoryEntry, Ar as RerunGradersResult, At as GetGraderLabelsParams, B as getCurrentTrace, Bn as ScenarioHistoryEntry, Br as AssertionCategoriesClient, Bt as GradersClient, C as NodeMethodDecorator, Ci as ProviderDefinition, Cn as AssertionVerdictEvidence, Cr as GraderRerunResult, Ct as OrganizationMembersClient, D as SeedCaseOptions, Di as Assignee, Dn as SaveAssertionsParams, Dr as RemoveDatasetGradersResult, Dt as BitfabLangGraphIntegration, E as ReseedResult, Ei as Approver, En as SaveAssertionsAllParams, Er as ListDatasetsParams, Et as BitfabLangGraphAgent, F as WrapOpenAIResponsesOptions, Fn as ScenarioActualOutcome, Fr as BitfabVercelAiHandler, Ft as GraderLabelUpdate, G as TracingProcessor, Gn as TraceAssertion, Gr as CategorySummary, Gt as HumanLabelUpdate, H as ActiveSpanContext, Hn as ScenarioRecordInput, Hr as AssertionCategorySummary, Ht as ArchiveVerdictTarget, I as WrapOpenRouterOptions, In as ScenarioData, Ir as VercelCallParams, It as GraderVerdict, J as SpanListParams, Jn as TraceAssertionsUpdate, Jr as CapturedSpan, Jt as LabelAction, K as ListedSpan, Kn as TraceAssertionSource, Kr as SaveAssertionCategoryParams, Kt as HumanVerdictOutcome, L as WrappedBamlFn, Ln as ScenarioDataAppend, Lr as VercelGenerateResult, Lt as GraderVerdictOutcome, M as WrapAnthropicOptions, Mn as SavedTraceAssertion, Mr as SaveDatasetResult, Mt as GraderLabel, N as WrapBAMLOptions, Nn as Scenario, Nr as UpdateDatasetParams, Nt as GraderLabelOutcome, O as SeedRunOptions, Oi as Justification, On as SaveScenarioActualOutcome, Or as RemoveDatasetTracesResult, Ot as LangGraphIntegrationOptions, P as WrapJevOptions, Pn as ScenarioAction, Pr as BitfabLanguageModelMiddleware, Pt as GraderLabelSource, Q as RivetContextLike, Qn as TraceTarget, Qr as SpanOccurrence, Qt as LabelStatus, R as getCurrentReplayBranch, Rn as ScenarioDataOrigin, Rr as VercelStreamResult, Rt as GraderVerdictSource, S as DetachedTrace, Si as BamlExecutionResult, Sn as AssertionRewriteStatus, Sr as GraderRerunProgress, St as OrganizationMember, T as ReseedOptions, Ti as ApprovalState, Tn as SaveAssertion, Tr as GraderRerunTimeoutError, Tt as BitfabAgentMiddleware, U as BitfabOpenAITracingProcessor, Un as ScenarioSource, Ur as CategoriesClient, Ut as AssertionVerdict, V as CaptureSurface, Vn as ScenarioRecord, Vr as AssertionCategory, Vt as ArchiveLabelTarget, W as TraceResponse, Wn as ScenarioTrigger, Wr as Category, Wt as HumanLabelOutcome, X as SpansClient, Xn as TraceSearchParams, Xr as HttpClient, Xt as LabelOutcome, Y as SpanListResult, Yn as TraceSearchFilters, Yr as CodeChangeFile, Yt as LabelConfidence, Z as BitfabRivetIntegration, Zn as TraceSearchResult, Zr as SpanLookup, Zt as LabelSource, _ as BitfabConfig, _i as ReplayNodeIdentity, _n as AssertionGenerationError, _r as DatasetGraderRef, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as MockOverrideInput, an as Verdict, ar as ExperimentPage, at as DbBranchOptions, b as CurrentSpan, bi as SelectiveReplayReport, bn as AssertionLabelEvidence, br as GraderRerun, bt as ReplayInterrupt, c as SeedResult, ci as NO_MOCK_OVERRIDE, cn as VerdictOutcome, cr as ExperimentRunBy, ct as ReplayError, d as seedFromRegistry, di as BitfabError, dn as VerdictTarget, dr as ExperimentTotals, dt as ReplayItemFinishProgress, ei as TokenUsage, en as LabelUpdate, er as TracesClient, et as RivetIntegrationOptions, f as finalizers, fi as MixedTracingError, fn as VerdictUpdate, fr as ExperimentsClient, ft as ReplayItemStartProgress, g as Bitfab, gi as SUPPORTED_PROVIDERS, gn as AssertionGeneration, gr as Dataset, gt as ReplayResult, h as CommitRef, hi as DbSnapshotRef, hn as AssertionEvidenceParameter, hr as AddDatasetTracesResult, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as MockOverrideCtx, in as TraceVerdicts, ir as ExperimentJitter, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, jn as SaveScenarioParams, jr as SaveDatasetParams, jt as GetGraderVerdictsParams, k as SpanMethodDecorator, ki as JustificationSpan, kn as SaveScenarioData, kr as RerunGradersOptions, kt as BitfabLangGraphCallbackHandler, l as defineReplayRegistry, li as NodeMatcher, ln as VerdictSource, lr as ExperimentStatus, lt as ReplayExperiment, m as __version__, mi as DbSnapshotProvider, mn as ArchiveAssertionsParams, mr as AddDatasetGradersResult, mt as ReplayProgress, n as ReplayRegistration, ni as DbBranchTimings, nn as PassFailVerdict, nr as ExperimentCategoryTally, nt as AdaptContext, o as ReseedRegistryResult, oi as MockOverrideResolver, on as VerdictAction, or as ExperimentRollup, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as DbSnapshotConfig, pn as VerdictsClient, pr as ListExperimentsParams, pt as ReplayOptions, q as SpanListField, qn as TraceAssertionsResult, qr as SaveCategoryParams, qt as HumanVerdictUpdate, r as ReplayRegistry, ri as MockOverride, rn as TraceLabels, rr as ExperimentCodeChangeTotals, rt as AdaptInputsFn, s as SeedCase, si as MockValue, sn as VerdictConfidence, sr as ExperimentRollupResult, st as MockStrategy, t as ReplayOptionsFactory, ti as flushTraces, tn as LabelsClient, tr as Experiment, tt as ReplayBranch, u as reseedFromRegistry, ui as SpanNodeMeta, un as VerdictStatus, ur as ExperimentTally, ut as ReplayItem, v as BitfabFunction, vi as SelectiveReplayDecision, vn as AssertionGenerationStatus, vr as DatasetTraceIds, vt as reportReplayProgress, w as NodeOptions, wi as ApprovalFields, wn as GenerateAssertionsOptions, wr as GraderRerunStatus, wt as BitfabOpenAIAgentHandler, x as CurrentTrace, xi as AllowedEnvVars, xn as AssertionRewrite, xr as GraderRerunError, xt as ReplayInterruptSignal, y as CaptureWhen, yi as SelectiveReplayOptions, yn as AssertionGenerationTimeoutError, yr as DatasetsClient, yt as serializeReplayResult, z as getCurrentSpan, zn as ScenarioDataSources, zr as BitfabClaudeAgentHandler, zt as GraderVerdictUpdate } from "./index-BuP59-AI.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 AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, 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 VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/index.js CHANGED
@@ -7,6 +7,6 @@ if (typeof globalThis.__bitfab_deprecation_warned === "undefined") {
7
7
  "The bitfab package will stop receiving updates in a future release."
8
8
  );
9
9
  }
10
- import { A as ExperimentsClient, C as BitfabOpenAIAgentHandler, D as GradersClient, E as BitfabLangGraphCallbackHandler, F as BitfabClaudeAgentHandler, I as DEFAULT_SERVICE_URL, L as AssertionCategoriesClient, M as DatasetsClient, N as GraderRerunError, O as LabelsClient, P as GraderRerunTimeoutError, R as CategoriesClient, S as OrganizationMembersClient, T as BitfabLangGraphIntegration, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as SUPPORTED_PROVIDERS, k as VerdictsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as NO_MOCK_OVERRIDE, x as serializeReplayResult, y as ReplayError } from "./src-Cmfs_7Ib.js";
11
- import { S as MixedTracingError, i as flushTraces, t as HttpClient, w as __version__, x as BitfabError } from "./http-BGY4ULH5.js";
10
+ import { A as ExperimentsClient, C as BitfabOpenAIAgentHandler, D as GradersClient, E as BitfabLangGraphCallbackHandler, F as BitfabClaudeAgentHandler, I as DEFAULT_SERVICE_URL, L as AssertionCategoriesClient, M as DatasetsClient, N as GraderRerunError, O as LabelsClient, P as GraderRerunTimeoutError, R as CategoriesClient, S as OrganizationMembersClient, T as BitfabLangGraphIntegration, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as SUPPORTED_PROVIDERS, k as VerdictsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as NO_MOCK_OVERRIDE, x as serializeReplayResult, y as ReplayError } from "./src-DgeGOhjN.js";
11
+ import { S as MixedTracingError, i as flushTraces, t as HttpClient, w as __version__, x as BitfabError } from "./http-CYIjoMdj.js";
12
12
  export { AssertionCategoriesClient, AssertionGenerationError, AssertionGenerationTimeoutError, BITFAB_PROGRESS_PREFIX, Bitfab, BitfabClaudeAgentHandler, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, CategoriesClient, DEFAULT_SERVICE_URL, DatasetsClient, DbBranchReplayError, ExperimentsClient, GraderRerunError, GraderRerunTimeoutError, GradersClient, HttpClient, LabelsClient, MixedTracingError, NO_MOCK_OVERRIDE, OrganizationMembersClient, ReplayError, SUPPORTED_PROVIDERS, SpansClient, TracesClient, VerdictsClient, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/node.cjs CHANGED
@@ -11,9 +11,9 @@ Object.defineProperties(exports, {
11
11
  __esModule: { value: true },
12
12
  [Symbol.toStringTag]: { value: "Module" }
13
13
  });
14
- const require_src = require("./src-BG2_8Fpf.cjs");
15
- const require_http = require("./http-C-HrwUb8.cjs");
16
- const require_autoTrace = require("./autoTrace-D3-OZcmR.cjs");
14
+ const require_src = require("./src-C3H1v_hp.cjs");
15
+ const require_http = require("./http-CARmid5D.cjs");
16
+ const require_autoTrace = require("./autoTrace-DUmR1KJ8.cjs");
17
17
  let async_hooks = require("async_hooks");
18
18
  //#region src/asyncStorageNode.ts
19
19
  require_autoTrace.registerAsyncLocalStorageClass(async_hooks.AsyncLocalStorage);
package/dist/node.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as ReplayBranch, $n as ExperimentJitter, $r as MockOverrideCtx, $t as LabelsClient, A as SpanMethodDecoratorContext, An as SavedTraceAssertion, Ar as BitfabVercelAiHandler, At as GraderLabel, B as ActiveSpanContext, Bn as TraceAssertion, Br as CategorySummary, Bt as ArchiveVerdictTarget, C as NodeMethodDecorator, Ci as Justification, Cn as SaveAssertion, Cr as RemoveDatasetTracesResult, Ct as BitfabAgentMiddleware, D as SeedCaseOptions, Dn as SaveScenarioData, Dr as SaveDatasetResult, Dt as BitfabLangGraphCallbackHandler, E as ReseedResult, En as SaveScenarioActualOutcome, Er as SaveDatasetParams, Et as LangGraphIntegrationOptions, F as WrappedBamlFn, Fn as ScenarioDataAppend, Fr as AssertionCategoriesClient, Ft as GraderVerdictOutcome, G as SpanListField, Gn as TraceSearchParams, Gr as HttpClient, Gt as HumanVerdictUpdate, H as TraceResponse, Hn as TraceAssertionsResult, Hr as SaveCategoryParams, Ht as HumanLabelOutcome, I as getCurrentReplayBranch, In as ScenarioDataOrigin, Ir as AssertionCategory, It as GraderVerdictSource, J as SpansClient, Jn as TraceTargetOccurrence, Jr as SpanType, Jt as LabelOutcome, K as SpanListParams, Kn as TraceSearchResult, Kr as SpanLookup, Kt as LabelAction, L as getCurrentSpan, Ln as ScenarioHistoryEntry, Lr as AssertionCategorySummary, Lt as GraderVerdictUpdate, M as WrapBAMLOptions, Mn as ScenarioAction, Mr as VercelGenerateResult, Mt as GraderLabelSource, N as WrapJevOptions, Nn as ScenarioActualOutcome, Nr as VercelStreamResult, Nt as GraderLabelUpdate, O as SeedRunOptions, On as SaveScenarioHistoryEntry, Or as UpdateDatasetParams, Ot as GetGraderLabelsParams, P as WrapOpenRouterOptions, Pn as ScenarioData, Pr as BitfabClaudeAgentHandler, Pt as GraderVerdict, Q as RivetIntegrationOptions, Qn as ExperimentCodeChangeTotals, Qr as MockOverride, Qt as LabelUpdate, R as getCurrentTrace, Rn as ScenarioSource, Rr as CategoriesClient, Rt as GradersClient, S as DetachedTrace, Si as Assignee, Sn as GenerateAssertionsOptions, Sr as RemoveDatasetGradersResult, St as BitfabOpenAIAgentHandler, T as ReseedOptions, Tn as SaveAssertionsParams, Tr as RerunGradersResult, Tt as BitfabLangGraphIntegration, U as TracingProcessor, Un as TraceAssertionsUpdate, Ur as CapturedSpan, Ut as HumanLabelUpdate, V as BitfabOpenAITracingProcessor, Vn as TraceAssertionSource, Vr as SaveAssertionCategoryParams, Vt as AssertionVerdict, W as ListedSpan, Wn as TraceSearchFilters, Wr as CodeChangeFile, Wt as HumanVerdictOutcome, X as RivetContextLike, Xn as Experiment, Xr as flushTraces, Xt as LabelStatus, Y as BitfabRivetIntegration, Yn as TracesClient, Yr as TokenUsage, Yt as LabelSource, Z as RivetEffectType, Zn as ExperimentCategoryTally, Zr as DbBranchTimings, Zt as LabelTarget, _ as BitfabConfig, _i as BamlExecutionResult, _n as AssertionGenerationTimeoutError, _r as GraderRerunProgress, _t as serializeReplayResult, a as ReplayRegistryOptions, ai as SpanNodeMeta, an as VerdictConfidence, ar as ExperimentTally, at as MockStrategy, b as CurrentSpan, bi as ApprovalState, bn as AssertionRewriteStatus, br as GraderRerunTimeoutError, bt as OrganizationMember, c as SeedResult, ci as DbSnapshotConfig, cn as VerdictStatus, cr as ListExperimentsParams, ct as ReplayItem, d as seedFromRegistry, di as SUPPORTED_PROVIDERS, dn as VerdictsClient, dr as Dataset, dt as ReplayOptions, ei as MockOverrideInput, en as PassFailVerdict, er as ExperimentPage, et as AdaptContext, f as finalizers, fi as ReplayNodeIdentity, fn as ArchiveAssertionsParams, fr as DatasetGraderRef, ft as ReplayProgress, g as Bitfab, gi as AllowedEnvVars, gn as AssertionGenerationStatus, gr as GraderRerunError, gt as reportReplayProgress, h as CommitRef, hi as SelectiveReplayReport, hn as AssertionGenerationError, hr as GraderRerun, ht as TraceIngestionType, i as ReplayRegistryContext, ii as NodeMatcher, in as VerdictAction, ir as ExperimentStatus, it as DbBranchReplayError, j as SpanOptions, jn as Scenario, jr as VercelCallParams, jt as GraderLabelOutcome, k as SpanMethodDecorator, kn as SaveScenarioParams, kr as BitfabLanguageModelMiddleware, kt as GetGraderVerdictsParams, l as defineReplayRegistry, li as DbSnapshotProvider, ln as VerdictTarget, lr as AddDatasetGradersResult, lt as ReplayItemFinishProgress, m as __version__, mi as SelectiveReplayOptions, mn as AssertionGeneration, mr as DatasetsClient, mt as ReplayResult, n as ReplayRegistration, ni as MockValue, nn as TraceVerdicts, nr as ExperimentRollupResult, nt as BITFAB_PROGRESS_PREFIX, o as ReseedRegistryResult, oi as BitfabError, on as VerdictOutcome, or as ExperimentTotals, ot as ReplayError, p as DEFAULT_SERVICE_URL, pi as SelectiveReplayDecision, pn as AssertionEvidenceParameter, pr as DatasetTraceIds, pt as ReplayProgressItem, q as SpanListResult, qn as TraceTarget, qr as SpanOccurrence, qt as LabelConfidence, r as ReplayRegistry, ri as NO_MOCK_OVERRIDE, rn as Verdict, rr as ExperimentRunBy, rt as DbBranchOptions, s as SeedCase, si as MixedTracingError, sn as VerdictSource, sr as ExperimentsClient, st as ReplayExperiment, t as ReplayOptionsFactory, ti as MockOverrideResolver, tn as TraceLabels, tr as ExperimentRollup, tt as AdaptInputsFn, u as reseedFromRegistry, ui as DbSnapshotRef, un as VerdictUpdate, ur as AddDatasetTracesResult, ut as ReplayItemStartProgress, v as BitfabFunction, vi as ProviderDefinition, vn as AssertionLabelEvidence, vr as GraderRerunResult, vt as ReplayInterrupt, w as NodeOptions, wi as JustificationSpan, wn as SaveAssertionsAllParams, wr as RerunGradersOptions, wt as BitfabLangGraphAgent, x as CurrentTrace, xi as Approver, xn as AssertionVerdictEvidence, xr as ListDatasetsParams, xt as OrganizationMembersClient, y as CaptureWhen, yi as ApprovalFields, yn as AssertionRewrite, yr as GraderRerunStatus, yt as ReplayInterruptSignal, z as CaptureSurface, zn as ScenarioTrigger, zr as Category, zt as ArchiveLabelTarget } from "./index-BcGxu85i.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 AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioHistoryEntry, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
1
+ import { $ as RivetEffectType, $n as TraceTargetOccurrence, $r as SpanType, $t as LabelTarget, A as SpanMethodDecoratorContext, An as SaveScenarioHistoryEntry, Ar as RerunGradersResult, At as GetGraderLabelsParams, B as getCurrentTrace, Bn as ScenarioHistoryEntry, Br as AssertionCategoriesClient, Bt as GradersClient, C as NodeMethodDecorator, Ci as ProviderDefinition, Cn as AssertionVerdictEvidence, Cr as GraderRerunResult, Ct as OrganizationMembersClient, D as SeedCaseOptions, Di as Assignee, Dn as SaveAssertionsParams, Dr as RemoveDatasetGradersResult, Dt as BitfabLangGraphIntegration, E as ReseedResult, Ei as Approver, En as SaveAssertionsAllParams, Er as ListDatasetsParams, Et as BitfabLangGraphAgent, F as WrapOpenAIResponsesOptions, Fn as ScenarioActualOutcome, Fr as BitfabVercelAiHandler, Ft as GraderLabelUpdate, G as TracingProcessor, Gn as TraceAssertion, Gr as CategorySummary, Gt as HumanLabelUpdate, H as ActiveSpanContext, Hn as ScenarioRecordInput, Hr as AssertionCategorySummary, Ht as ArchiveVerdictTarget, I as WrapOpenRouterOptions, In as ScenarioData, Ir as VercelCallParams, It as GraderVerdict, J as SpanListParams, Jn as TraceAssertionsUpdate, Jr as CapturedSpan, Jt as LabelAction, K as ListedSpan, Kn as TraceAssertionSource, Kr as SaveAssertionCategoryParams, Kt as HumanVerdictOutcome, L as WrappedBamlFn, Ln as ScenarioDataAppend, Lr as VercelGenerateResult, Lt as GraderVerdictOutcome, M as WrapAnthropicOptions, Mn as SavedTraceAssertion, Mr as SaveDatasetResult, Mt as GraderLabel, N as WrapBAMLOptions, Nn as Scenario, Nr as UpdateDatasetParams, Nt as GraderLabelOutcome, O as SeedRunOptions, Oi as Justification, On as SaveScenarioActualOutcome, Or as RemoveDatasetTracesResult, Ot as LangGraphIntegrationOptions, P as WrapJevOptions, Pn as ScenarioAction, Pr as BitfabLanguageModelMiddleware, Pt as GraderLabelSource, Q as RivetContextLike, Qn as TraceTarget, Qr as SpanOccurrence, Qt as LabelStatus, R as getCurrentReplayBranch, Rn as ScenarioDataOrigin, Rr as VercelStreamResult, Rt as GraderVerdictSource, S as DetachedTrace, Si as BamlExecutionResult, Sn as AssertionRewriteStatus, Sr as GraderRerunProgress, St as OrganizationMember, T as ReseedOptions, Ti as ApprovalState, Tn as SaveAssertion, Tr as GraderRerunTimeoutError, Tt as BitfabAgentMiddleware, U as BitfabOpenAITracingProcessor, Un as ScenarioSource, Ur as CategoriesClient, Ut as AssertionVerdict, V as CaptureSurface, Vn as ScenarioRecord, Vr as AssertionCategory, Vt as ArchiveLabelTarget, W as TraceResponse, Wn as ScenarioTrigger, Wr as Category, Wt as HumanLabelOutcome, X as SpansClient, Xn as TraceSearchParams, Xr as HttpClient, Xt as LabelOutcome, Y as SpanListResult, Yn as TraceSearchFilters, Yr as CodeChangeFile, Yt as LabelConfidence, Z as BitfabRivetIntegration, Zn as TraceSearchResult, Zr as SpanLookup, Zt as LabelSource, _ as BitfabConfig, _i as ReplayNodeIdentity, _n as AssertionGenerationError, _r as DatasetGraderRef, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as MockOverrideInput, an as Verdict, ar as ExperimentPage, at as DbBranchOptions, b as CurrentSpan, bi as SelectiveReplayReport, bn as AssertionLabelEvidence, br as GraderRerun, bt as ReplayInterrupt, c as SeedResult, ci as NO_MOCK_OVERRIDE, cn as VerdictOutcome, cr as ExperimentRunBy, ct as ReplayError, d as seedFromRegistry, di as BitfabError, dn as VerdictTarget, dr as ExperimentTotals, dt as ReplayItemFinishProgress, ei as TokenUsage, en as LabelUpdate, er as TracesClient, et as RivetIntegrationOptions, f as finalizers, fi as MixedTracingError, fn as VerdictUpdate, fr as ExperimentsClient, ft as ReplayItemStartProgress, g as Bitfab, gi as SUPPORTED_PROVIDERS, gn as AssertionGeneration, gr as Dataset, gt as ReplayResult, h as CommitRef, hi as DbSnapshotRef, hn as AssertionEvidenceParameter, hr as AddDatasetTracesResult, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as MockOverrideCtx, in as TraceVerdicts, ir as ExperimentJitter, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, jn as SaveScenarioParams, jr as SaveDatasetParams, jt as GetGraderVerdictsParams, k as SpanMethodDecorator, ki as JustificationSpan, kn as SaveScenarioData, kr as RerunGradersOptions, kt as BitfabLangGraphCallbackHandler, l as defineReplayRegistry, li as NodeMatcher, ln as VerdictSource, lr as ExperimentStatus, lt as ReplayExperiment, m as __version__, mi as DbSnapshotProvider, mn as ArchiveAssertionsParams, mr as AddDatasetGradersResult, mt as ReplayProgress, n as ReplayRegistration, ni as DbBranchTimings, nn as PassFailVerdict, nr as ExperimentCategoryTally, nt as AdaptContext, o as ReseedRegistryResult, oi as MockOverrideResolver, on as VerdictAction, or as ExperimentRollup, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as DbSnapshotConfig, pn as VerdictsClient, pr as ListExperimentsParams, pt as ReplayOptions, q as SpanListField, qn as TraceAssertionsResult, qr as SaveCategoryParams, qt as HumanVerdictUpdate, r as ReplayRegistry, ri as MockOverride, rn as TraceLabels, rr as ExperimentCodeChangeTotals, rt as AdaptInputsFn, s as SeedCase, si as MockValue, sn as VerdictConfidence, sr as ExperimentRollupResult, st as MockStrategy, t as ReplayOptionsFactory, ti as flushTraces, tn as LabelsClient, tr as Experiment, tt as ReplayBranch, u as reseedFromRegistry, ui as SpanNodeMeta, un as VerdictStatus, ur as ExperimentTally, ut as ReplayItem, v as BitfabFunction, vi as SelectiveReplayDecision, vn as AssertionGenerationStatus, vr as DatasetTraceIds, vt as reportReplayProgress, w as NodeOptions, wi as ApprovalFields, wn as GenerateAssertionsOptions, wr as GraderRerunStatus, wt as BitfabOpenAIAgentHandler, x as CurrentTrace, xi as AllowedEnvVars, xn as AssertionRewrite, xr as GraderRerunError, xt as ReplayInterruptSignal, y as CaptureWhen, yi as SelectiveReplayOptions, yn as AssertionGenerationTimeoutError, yr as DatasetsClient, yt as serializeReplayResult, z as getCurrentSpan, zn as ScenarioDataSources, zr as BitfabClaudeAgentHandler, zt as GraderVerdictUpdate } from "./index-BuP59-AI.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 AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, 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 VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/node.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as ReplayBranch, $n as ExperimentJitter, $r as MockOverrideCtx, $t as LabelsClient, A as SpanMethodDecoratorContext, An as SavedTraceAssertion, Ar as BitfabVercelAiHandler, At as GraderLabel, B as ActiveSpanContext, Bn as TraceAssertion, Br as CategorySummary, Bt as ArchiveVerdictTarget, C as NodeMethodDecorator, Ci as Justification, Cn as SaveAssertion, Cr as RemoveDatasetTracesResult, Ct as BitfabAgentMiddleware, D as SeedCaseOptions, Dn as SaveScenarioData, Dr as SaveDatasetResult, Dt as BitfabLangGraphCallbackHandler, E as ReseedResult, En as SaveScenarioActualOutcome, Er as SaveDatasetParams, Et as LangGraphIntegrationOptions, F as WrappedBamlFn, Fn as ScenarioDataAppend, Fr as AssertionCategoriesClient, Ft as GraderVerdictOutcome, G as SpanListField, Gn as TraceSearchParams, Gr as HttpClient, Gt as HumanVerdictUpdate, H as TraceResponse, Hn as TraceAssertionsResult, Hr as SaveCategoryParams, Ht as HumanLabelOutcome, I as getCurrentReplayBranch, In as ScenarioDataOrigin, Ir as AssertionCategory, It as GraderVerdictSource, J as SpansClient, Jn as TraceTargetOccurrence, Jr as SpanType, Jt as LabelOutcome, K as SpanListParams, Kn as TraceSearchResult, Kr as SpanLookup, Kt as LabelAction, L as getCurrentSpan, Ln as ScenarioHistoryEntry, Lr as AssertionCategorySummary, Lt as GraderVerdictUpdate, M as WrapBAMLOptions, Mn as ScenarioAction, Mr as VercelGenerateResult, Mt as GraderLabelSource, N as WrapJevOptions, Nn as ScenarioActualOutcome, Nr as VercelStreamResult, Nt as GraderLabelUpdate, O as SeedRunOptions, On as SaveScenarioHistoryEntry, Or as UpdateDatasetParams, Ot as GetGraderLabelsParams, P as WrapOpenRouterOptions, Pn as ScenarioData, Pr as BitfabClaudeAgentHandler, Pt as GraderVerdict, Q as RivetIntegrationOptions, Qn as ExperimentCodeChangeTotals, Qr as MockOverride, Qt as LabelUpdate, R as getCurrentTrace, Rn as ScenarioSource, Rr as CategoriesClient, Rt as GradersClient, S as DetachedTrace, Si as Assignee, Sn as GenerateAssertionsOptions, Sr as RemoveDatasetGradersResult, St as BitfabOpenAIAgentHandler, T as ReseedOptions, Tn as SaveAssertionsParams, Tr as RerunGradersResult, Tt as BitfabLangGraphIntegration, U as TracingProcessor, Un as TraceAssertionsUpdate, Ur as CapturedSpan, Ut as HumanLabelUpdate, V as BitfabOpenAITracingProcessor, Vn as TraceAssertionSource, Vr as SaveAssertionCategoryParams, Vt as AssertionVerdict, W as ListedSpan, Wn as TraceSearchFilters, Wr as CodeChangeFile, Wt as HumanVerdictOutcome, X as RivetContextLike, Xn as Experiment, Xr as flushTraces, Xt as LabelStatus, Y as BitfabRivetIntegration, Yn as TracesClient, Yr as TokenUsage, Yt as LabelSource, Z as RivetEffectType, Zn as ExperimentCategoryTally, Zr as DbBranchTimings, Zt as LabelTarget, _ as BitfabConfig, _i as BamlExecutionResult, _n as AssertionGenerationTimeoutError, _r as GraderRerunProgress, _t as serializeReplayResult, a as ReplayRegistryOptions, ai as SpanNodeMeta, an as VerdictConfidence, ar as ExperimentTally, at as MockStrategy, b as CurrentSpan, bi as ApprovalState, bn as AssertionRewriteStatus, br as GraderRerunTimeoutError, bt as OrganizationMember, c as SeedResult, ci as DbSnapshotConfig, cn as VerdictStatus, cr as ListExperimentsParams, ct as ReplayItem, d as seedFromRegistry, di as SUPPORTED_PROVIDERS, dn as VerdictsClient, dr as Dataset, dt as ReplayOptions, ei as MockOverrideInput, en as PassFailVerdict, er as ExperimentPage, et as AdaptContext, f as finalizers, fi as ReplayNodeIdentity, fn as ArchiveAssertionsParams, fr as DatasetGraderRef, ft as ReplayProgress, g as Bitfab, gi as AllowedEnvVars, gn as AssertionGenerationStatus, gr as GraderRerunError, gt as reportReplayProgress, h as CommitRef, hi as SelectiveReplayReport, hn as AssertionGenerationError, hr as GraderRerun, ht as TraceIngestionType, i as ReplayRegistryContext, ii as NodeMatcher, in as VerdictAction, ir as ExperimentStatus, it as DbBranchReplayError, j as SpanOptions, jn as Scenario, jr as VercelCallParams, jt as GraderLabelOutcome, k as SpanMethodDecorator, kn as SaveScenarioParams, kr as BitfabLanguageModelMiddleware, kt as GetGraderVerdictsParams, l as defineReplayRegistry, li as DbSnapshotProvider, ln as VerdictTarget, lr as AddDatasetGradersResult, lt as ReplayItemFinishProgress, m as __version__, mi as SelectiveReplayOptions, mn as AssertionGeneration, mr as DatasetsClient, mt as ReplayResult, n as ReplayRegistration, ni as MockValue, nn as TraceVerdicts, nr as ExperimentRollupResult, nt as BITFAB_PROGRESS_PREFIX, o as ReseedRegistryResult, oi as BitfabError, on as VerdictOutcome, or as ExperimentTotals, ot as ReplayError, p as DEFAULT_SERVICE_URL, pi as SelectiveReplayDecision, pn as AssertionEvidenceParameter, pr as DatasetTraceIds, pt as ReplayProgressItem, q as SpanListResult, qn as TraceTarget, qr as SpanOccurrence, qt as LabelConfidence, r as ReplayRegistry, ri as NO_MOCK_OVERRIDE, rn as Verdict, rr as ExperimentRunBy, rt as DbBranchOptions, s as SeedCase, si as MixedTracingError, sn as VerdictSource, sr as ExperimentsClient, st as ReplayExperiment, t as ReplayOptionsFactory, ti as MockOverrideResolver, tn as TraceLabels, tr as ExperimentRollup, tt as AdaptInputsFn, u as reseedFromRegistry, ui as DbSnapshotRef, un as VerdictUpdate, ur as AddDatasetTracesResult, ut as ReplayItemStartProgress, v as BitfabFunction, vi as ProviderDefinition, vn as AssertionLabelEvidence, vr as GraderRerunResult, vt as ReplayInterrupt, w as NodeOptions, wi as JustificationSpan, wn as SaveAssertionsAllParams, wr as RerunGradersOptions, wt as BitfabLangGraphAgent, x as CurrentTrace, xi as Approver, xn as AssertionVerdictEvidence, xr as ListDatasetsParams, xt as OrganizationMembersClient, y as CaptureWhen, yi as ApprovalFields, yn as AssertionRewrite, yr as GraderRerunStatus, yt as ReplayInterruptSignal, z as CaptureSurface, zn as ScenarioTrigger, zr as Category, zt as ArchiveLabelTarget } from "./index-BcGxu85i.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 AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioHistoryEntry, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
1
+ import { $ as RivetEffectType, $n as TraceTargetOccurrence, $r as SpanType, $t as LabelTarget, A as SpanMethodDecoratorContext, An as SaveScenarioHistoryEntry, Ar as RerunGradersResult, At as GetGraderLabelsParams, B as getCurrentTrace, Bn as ScenarioHistoryEntry, Br as AssertionCategoriesClient, Bt as GradersClient, C as NodeMethodDecorator, Ci as ProviderDefinition, Cn as AssertionVerdictEvidence, Cr as GraderRerunResult, Ct as OrganizationMembersClient, D as SeedCaseOptions, Di as Assignee, Dn as SaveAssertionsParams, Dr as RemoveDatasetGradersResult, Dt as BitfabLangGraphIntegration, E as ReseedResult, Ei as Approver, En as SaveAssertionsAllParams, Er as ListDatasetsParams, Et as BitfabLangGraphAgent, F as WrapOpenAIResponsesOptions, Fn as ScenarioActualOutcome, Fr as BitfabVercelAiHandler, Ft as GraderLabelUpdate, G as TracingProcessor, Gn as TraceAssertion, Gr as CategorySummary, Gt as HumanLabelUpdate, H as ActiveSpanContext, Hn as ScenarioRecordInput, Hr as AssertionCategorySummary, Ht as ArchiveVerdictTarget, I as WrapOpenRouterOptions, In as ScenarioData, Ir as VercelCallParams, It as GraderVerdict, J as SpanListParams, Jn as TraceAssertionsUpdate, Jr as CapturedSpan, Jt as LabelAction, K as ListedSpan, Kn as TraceAssertionSource, Kr as SaveAssertionCategoryParams, Kt as HumanVerdictOutcome, L as WrappedBamlFn, Ln as ScenarioDataAppend, Lr as VercelGenerateResult, Lt as GraderVerdictOutcome, M as WrapAnthropicOptions, Mn as SavedTraceAssertion, Mr as SaveDatasetResult, Mt as GraderLabel, N as WrapBAMLOptions, Nn as Scenario, Nr as UpdateDatasetParams, Nt as GraderLabelOutcome, O as SeedRunOptions, Oi as Justification, On as SaveScenarioActualOutcome, Or as RemoveDatasetTracesResult, Ot as LangGraphIntegrationOptions, P as WrapJevOptions, Pn as ScenarioAction, Pr as BitfabLanguageModelMiddleware, Pt as GraderLabelSource, Q as RivetContextLike, Qn as TraceTarget, Qr as SpanOccurrence, Qt as LabelStatus, R as getCurrentReplayBranch, Rn as ScenarioDataOrigin, Rr as VercelStreamResult, Rt as GraderVerdictSource, S as DetachedTrace, Si as BamlExecutionResult, Sn as AssertionRewriteStatus, Sr as GraderRerunProgress, St as OrganizationMember, T as ReseedOptions, Ti as ApprovalState, Tn as SaveAssertion, Tr as GraderRerunTimeoutError, Tt as BitfabAgentMiddleware, U as BitfabOpenAITracingProcessor, Un as ScenarioSource, Ur as CategoriesClient, Ut as AssertionVerdict, V as CaptureSurface, Vn as ScenarioRecord, Vr as AssertionCategory, Vt as ArchiveLabelTarget, W as TraceResponse, Wn as ScenarioTrigger, Wr as Category, Wt as HumanLabelOutcome, X as SpansClient, Xn as TraceSearchParams, Xr as HttpClient, Xt as LabelOutcome, Y as SpanListResult, Yn as TraceSearchFilters, Yr as CodeChangeFile, Yt as LabelConfidence, Z as BitfabRivetIntegration, Zn as TraceSearchResult, Zr as SpanLookup, Zt as LabelSource, _ as BitfabConfig, _i as ReplayNodeIdentity, _n as AssertionGenerationError, _r as DatasetGraderRef, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as MockOverrideInput, an as Verdict, ar as ExperimentPage, at as DbBranchOptions, b as CurrentSpan, bi as SelectiveReplayReport, bn as AssertionLabelEvidence, br as GraderRerun, bt as ReplayInterrupt, c as SeedResult, ci as NO_MOCK_OVERRIDE, cn as VerdictOutcome, cr as ExperimentRunBy, ct as ReplayError, d as seedFromRegistry, di as BitfabError, dn as VerdictTarget, dr as ExperimentTotals, dt as ReplayItemFinishProgress, ei as TokenUsage, en as LabelUpdate, er as TracesClient, et as RivetIntegrationOptions, f as finalizers, fi as MixedTracingError, fn as VerdictUpdate, fr as ExperimentsClient, ft as ReplayItemStartProgress, g as Bitfab, gi as SUPPORTED_PROVIDERS, gn as AssertionGeneration, gr as Dataset, gt as ReplayResult, h as CommitRef, hi as DbSnapshotRef, hn as AssertionEvidenceParameter, hr as AddDatasetTracesResult, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as MockOverrideCtx, in as TraceVerdicts, ir as ExperimentJitter, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, jn as SaveScenarioParams, jr as SaveDatasetParams, jt as GetGraderVerdictsParams, k as SpanMethodDecorator, ki as JustificationSpan, kn as SaveScenarioData, kr as RerunGradersOptions, kt as BitfabLangGraphCallbackHandler, l as defineReplayRegistry, li as NodeMatcher, ln as VerdictSource, lr as ExperimentStatus, lt as ReplayExperiment, m as __version__, mi as DbSnapshotProvider, mn as ArchiveAssertionsParams, mr as AddDatasetGradersResult, mt as ReplayProgress, n as ReplayRegistration, ni as DbBranchTimings, nn as PassFailVerdict, nr as ExperimentCategoryTally, nt as AdaptContext, o as ReseedRegistryResult, oi as MockOverrideResolver, on as VerdictAction, or as ExperimentRollup, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as DbSnapshotConfig, pn as VerdictsClient, pr as ListExperimentsParams, pt as ReplayOptions, q as SpanListField, qn as TraceAssertionsResult, qr as SaveCategoryParams, qt as HumanVerdictUpdate, r as ReplayRegistry, ri as MockOverride, rn as TraceLabels, rr as ExperimentCodeChangeTotals, rt as AdaptInputsFn, s as SeedCase, si as MockValue, sn as VerdictConfidence, sr as ExperimentRollupResult, st as MockStrategy, t as ReplayOptionsFactory, ti as flushTraces, tn as LabelsClient, tr as Experiment, tt as ReplayBranch, u as reseedFromRegistry, ui as SpanNodeMeta, un as VerdictStatus, ur as ExperimentTally, ut as ReplayItem, v as BitfabFunction, vi as SelectiveReplayDecision, vn as AssertionGenerationStatus, vr as DatasetTraceIds, vt as reportReplayProgress, w as NodeOptions, wi as ApprovalFields, wn as GenerateAssertionsOptions, wr as GraderRerunStatus, wt as BitfabOpenAIAgentHandler, x as CurrentTrace, xi as AllowedEnvVars, xn as AssertionRewrite, xr as GraderRerunError, xt as ReplayInterruptSignal, y as CaptureWhen, yi as SelectiveReplayOptions, yn as AssertionGenerationTimeoutError, yr as DatasetsClient, yt as serializeReplayResult, z as getCurrentSpan, zn as ScenarioDataSources, zr as BitfabClaudeAgentHandler, zt as GraderVerdictUpdate } from "./index-BuP59-AI.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 AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, 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 VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/node.js CHANGED
@@ -7,9 +7,9 @@ if (typeof globalThis.__bitfab_deprecation_warned === "undefined") {
7
7
  "The bitfab package will stop receiving updates in a future release."
8
8
  );
9
9
  }
10
- import { A as ExperimentsClient, C as BitfabOpenAIAgentHandler, D as GradersClient, E as BitfabLangGraphCallbackHandler, F as BitfabClaudeAgentHandler, I as DEFAULT_SERVICE_URL, L as AssertionCategoriesClient, M as DatasetsClient, N as GraderRerunError, O as LabelsClient, P as GraderRerunTimeoutError, R as CategoriesClient, S as OrganizationMembersClient, T as BitfabLangGraphIntegration, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as SUPPORTED_PROVIDERS, k as VerdictsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as NO_MOCK_OVERRIDE, x as serializeReplayResult, y as ReplayError } from "./src-Cmfs_7Ib.js";
11
- import { S as MixedTracingError, i as flushTraces, t as HttpClient, w as __version__, x as BitfabError } from "./http-BGY4ULH5.js";
12
- import { C as assertAsyncStorageRegistered, D as registerAsyncLocalStorageClass } from "./autoTrace-ghnojSj9.js";
10
+ import { A as ExperimentsClient, C as BitfabOpenAIAgentHandler, D as GradersClient, E as BitfabLangGraphCallbackHandler, F as BitfabClaudeAgentHandler, I as DEFAULT_SERVICE_URL, L as AssertionCategoriesClient, M as DatasetsClient, N as GraderRerunError, O as LabelsClient, P as GraderRerunTimeoutError, R as CategoriesClient, S as OrganizationMembersClient, T as BitfabLangGraphIntegration, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as SUPPORTED_PROVIDERS, k as VerdictsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as NO_MOCK_OVERRIDE, x as serializeReplayResult, y as ReplayError } from "./src-DgeGOhjN.js";
11
+ import { S as MixedTracingError, i as flushTraces, t as HttpClient, w as __version__, x as BitfabError } from "./http-CYIjoMdj.js";
12
+ import { H as registerAsyncLocalStorageClass, R as assertAsyncStorageRegistered } from "./autoTrace-DVnpnuMb.js";
13
13
  import { AsyncLocalStorage } from "async_hooks";
14
14
  //#region src/asyncStorageNode.ts
15
15
  registerAsyncLocalStorageClass(AsyncLocalStorage);
@@ -0,0 +1,17 @@
1
+ //#region src/optionalPeer.ts
2
+ function importOptionalPeer(specifierParts) {
3
+ return import(
4
+ /* webpackIgnore: true */
5
+ /* @vite-ignore */
6
+ specifierParts.join("/")
7
+ );
8
+ }
9
+ //#endregion
10
+ Object.defineProperty(exports, "importOptionalPeer", {
11
+ enumerable: true,
12
+ get: function() {
13
+ return importOptionalPeer;
14
+ }
15
+ });
16
+
17
+ //# sourceMappingURL=optionalPeer-CUH756lt.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"optionalPeer-CUH756lt.cjs","names":[],"sources":["../src/optionalPeer.ts"],"sourcesContent":["/**\n * Import an OPTIONAL peer dependency without breaking a consumer's bundler.\n *\n * Optional peers (declared in this package's `peerDependenciesMeta` with\n * `optional: true` - e.g. `@openai/agents`, `@boundaryml/baml`) are absent by\n * design for most consumers: someone who only uses the Vercel AI integration\n * never installs `@openai/agents`, and someone who never calls `Bitfab.call()`\n * never installs `@boundaryml/baml`.\n *\n * A plain `import(\"@openai/agents\")` leaves a static, literal specifier in the\n * built SDK. A consumer's bundler (webpack, Turbopack, Vite, Rollup, esbuild)\n * statically analyses that specifier and tries to resolve it at *build* time,\n * failing the whole build with \"Module not found: Can't resolve\n * '@openai/agents'\" even though that code path never runs for that consumer.\n * Wrapping the import in try/catch is not enough: only webpack >= 5.90.2 treats\n * that as optional, and Turbopack/Vite/older webpack do not.\n *\n * The robust, bundler-agnostic fix is to keep the specifier out of static\n * analysis entirely. The caller passes the specifier as parts that are joined\n * at runtime, so no bundler can see a literal module name to resolve. The\n * `webpackIgnore` / `@vite-ignore` magic comments are belt-and-suspenders for\n * bundlers that still inspect the (now non-literal) request. This mirrors the\n * technique already used for `node:async_hooks` in `asyncStorage.ts`.\n *\n * The import stays a native runtime `import()`: it resolves from `node_modules`\n * when the peer IS installed, and throws an ordinary module-not-found error\n * only when the feature is actually used without its peer installed - which is\n * the correct behaviour (the caller opted into an integration whose peer they\n * chose not to install).\n *\n * @param specifierParts - The package specifier split so it is reconstructed at\n * runtime, never appearing as a literal (e.g. `[\"@openai\", \"agents\"]` ->\n * `\"@openai/agents\"`).\n */\nexport function importOptionalPeer<T = unknown>(\n specifierParts: readonly string[],\n): Promise<T> {\n // Reconstructed at runtime so no bundler sees a literal specifier to resolve.\n const specifier = specifierParts.join(\"/\")\n return import(\n /* webpackIgnore: true */ /* @vite-ignore */ specifier\n ) as Promise<T>\n}\n"],"mappings":";AAkCA,SAAgB,mBACd,gBACY;CAGZ,OAAO;;;EADW,eAAe,KAAK,GAEiB;;AAEzD"}
@@ -0,0 +1,12 @@
1
+ //#region src/optionalPeer.ts
2
+ function importOptionalPeer(specifierParts) {
3
+ return import(
4
+ /* webpackIgnore: true */
5
+ /* @vite-ignore */
6
+ specifierParts.join("/")
7
+ );
8
+ }
9
+ //#endregion
10
+ export { importOptionalPeer as t };
11
+
12
+ //# sourceMappingURL=optionalPeer-CczrzrXx.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"optionalPeer-CczrzrXx.js","names":[],"sources":["../src/optionalPeer.ts"],"sourcesContent":["/**\n * Import an OPTIONAL peer dependency without breaking a consumer's bundler.\n *\n * Optional peers (declared in this package's `peerDependenciesMeta` with\n * `optional: true` - e.g. `@openai/agents`, `@boundaryml/baml`) are absent by\n * design for most consumers: someone who only uses the Vercel AI integration\n * never installs `@openai/agents`, and someone who never calls `Bitfab.call()`\n * never installs `@boundaryml/baml`.\n *\n * A plain `import(\"@openai/agents\")` leaves a static, literal specifier in the\n * built SDK. A consumer's bundler (webpack, Turbopack, Vite, Rollup, esbuild)\n * statically analyses that specifier and tries to resolve it at *build* time,\n * failing the whole build with \"Module not found: Can't resolve\n * '@openai/agents'\" even though that code path never runs for that consumer.\n * Wrapping the import in try/catch is not enough: only webpack >= 5.90.2 treats\n * that as optional, and Turbopack/Vite/older webpack do not.\n *\n * The robust, bundler-agnostic fix is to keep the specifier out of static\n * analysis entirely. The caller passes the specifier as parts that are joined\n * at runtime, so no bundler can see a literal module name to resolve. The\n * `webpackIgnore` / `@vite-ignore` magic comments are belt-and-suspenders for\n * bundlers that still inspect the (now non-literal) request. This mirrors the\n * technique already used for `node:async_hooks` in `asyncStorage.ts`.\n *\n * The import stays a native runtime `import()`: it resolves from `node_modules`\n * when the peer IS installed, and throws an ordinary module-not-found error\n * only when the feature is actually used without its peer installed - which is\n * the correct behaviour (the caller opted into an integration whose peer they\n * chose not to install).\n *\n * @param specifierParts - The package specifier split so it is reconstructed at\n * runtime, never appearing as a literal (e.g. `[\"@openai\", \"agents\"]` ->\n * `\"@openai/agents\"`).\n */\nexport function importOptionalPeer<T = unknown>(\n specifierParts: readonly string[],\n): Promise<T> {\n // Reconstructed at runtime so no bundler sees a literal specifier to resolve.\n const specifier = specifierParts.join(\"/\")\n return import(\n /* webpackIgnore: true */ /* @vite-ignore */ specifier\n ) as Promise<T>\n}\n"],"mappings":";AAkCA,SAAgB,mBACd,gBACY;CAGZ,OAAO;;;EADW,eAAe,KAAK,GAEiB;;AAEzD"}
@@ -255,6 +255,184 @@ function warnJudgeAssertionsDeprecated(write = console.warn) {
255
255
  writeOnce("judgeAssertions-deprecated", JUDGE_ASSERTIONS_DEPRECATION_WARNING, write);
256
256
  }
257
257
  //#endregion
258
+ //#region src/openaiAgentsSpanContext.ts
259
+ const spanGlobal = globalThis;
260
+ spanGlobal.__bitfabOpenAiAgentsSpansV1 = spanGlobal.__bitfabOpenAiAgentsSpansV1 ?? {
261
+ bitfabTraceIds: /* @__PURE__ */ new Map(),
262
+ endedSpanIds: /* @__PURE__ */ new Map()
263
+ };
264
+ //#endregion
265
+ //#region src/clientCalls.ts
266
+ const OPENROUTER_HOSTNAME = "openrouter.ai";
267
+ function isRecord(value) {
268
+ return typeof value === "object" && value !== null;
269
+ }
270
+ function field(value, name) {
271
+ return isRecord(value) ? value[name] : void 0;
272
+ }
273
+ function numberField(value, name) {
274
+ const found = field(value, name);
275
+ return typeof found === "number" && Number.isFinite(found) ? found : void 0;
276
+ }
277
+ function nonEmptyString(value) {
278
+ return typeof value === "string" && value !== "" ? value : void 0;
279
+ }
280
+ function presentFields(base, values, durationMs) {
281
+ const context = { ...base };
282
+ for (const [key, value] of Object.entries(values)) if (value !== void 0) context[key] = value;
283
+ context.durationMs = durationMs;
284
+ return context;
285
+ }
286
+ function sumOfPresent(values) {
287
+ const present = values.filter((value) => value !== void 0);
288
+ return present.length > 0 ? present.reduce((total, value) => total + value, 0) : void 0;
289
+ }
290
+ function textOf(content) {
291
+ return typeof content === "string" ? content : JSON.stringify(content);
292
+ }
293
+ function roleEntries(items) {
294
+ return items.flatMap((item) => {
295
+ const role = field(item, "role");
296
+ if (typeof role !== "string") return [];
297
+ return [{
298
+ role,
299
+ content: textOf(field(item, "content"))
300
+ }];
301
+ });
302
+ }
303
+ function renderedPrompt(entries) {
304
+ return entries.length > 0 ? JSON.stringify(entries) : void 0;
305
+ }
306
+ function clientOf(receiver) {
307
+ try {
308
+ return field(receiver, "_client");
309
+ } catch {
310
+ return;
311
+ }
312
+ }
313
+ function clientClassStatic(receiver, name) {
314
+ const client = clientOf(receiver);
315
+ if (!isRecord(client)) return;
316
+ try {
317
+ const clientClass = client.constructor;
318
+ return typeof clientClass === "function" ? clientClass[name] : void 0;
319
+ } catch {
320
+ return;
321
+ }
322
+ }
323
+ function isOpenRouterBaseUrl(baseUrl) {
324
+ if (typeof baseUrl !== "string") return false;
325
+ try {
326
+ const host = new URL(baseUrl).hostname;
327
+ return host === OPENROUTER_HOSTNAME || host.endsWith(`.${OPENROUTER_HOSTNAME}`);
328
+ } catch {
329
+ return false;
330
+ }
331
+ }
332
+ function isOpenRouterCompletions(receiver) {
333
+ try {
334
+ return isOpenRouterBaseUrl(field(clientOf(receiver), "baseURL"));
335
+ } catch {
336
+ return false;
337
+ }
338
+ }
339
+ function isAnthropicMessages(receiver) {
340
+ return typeof clientClassStatic(receiver, "HUMAN_PROMPT") === "string";
341
+ }
342
+ function isOpenAIResponses(receiver) {
343
+ return typeof clientClassStatic(receiver, "OpenAI") === "function";
344
+ }
345
+ function openRouterPrompt(body) {
346
+ const messages = field(body, "messages");
347
+ return Array.isArray(messages) ? renderedPrompt(roleEntries(messages)) : void 0;
348
+ }
349
+ function openRouterContext(body, response, durationMs) {
350
+ const usage = field(response, "usage");
351
+ return presentFields({ provider: "openrouter" }, {
352
+ model: nonEmptyString(field(response, "model")) ?? nonEmptyString(field(body, "model")),
353
+ upstreamProvider: nonEmptyString(field(response, "provider")),
354
+ inputTokens: numberField(usage, "prompt_tokens"),
355
+ outputTokens: numberField(usage, "completion_tokens"),
356
+ cachedInputTokens: numberField(field(usage, "prompt_tokens_details"), "cached_tokens"),
357
+ reasoningTokens: numberField(field(usage, "completion_tokens_details"), "reasoning_tokens"),
358
+ costUsd: numberField(usage, "cost")
359
+ }, durationMs);
360
+ }
361
+ function anthropicPrompt(body) {
362
+ const system = field(body, "system");
363
+ const messages = field(body, "messages");
364
+ return renderedPrompt([...system === void 0 || system === null ? [] : [{
365
+ role: "system",
366
+ content: textOf(system)
367
+ }], ...Array.isArray(messages) ? roleEntries(messages) : []]);
368
+ }
369
+ function anthropicContext(body, response, durationMs) {
370
+ const usage = field(response, "usage");
371
+ const cacheRead = numberField(usage, "cache_read_input_tokens");
372
+ return presentFields({ provider: "anthropic" }, {
373
+ model: nonEmptyString(field(response, "model")) ?? nonEmptyString(field(body, "model")),
374
+ inputTokens: sumOfPresent([
375
+ numberField(usage, "input_tokens"),
376
+ cacheRead,
377
+ numberField(usage, "cache_creation_input_tokens")
378
+ ]),
379
+ outputTokens: numberField(usage, "output_tokens"),
380
+ cachedInputTokens: cacheRead
381
+ }, durationMs);
382
+ }
383
+ function openAIResponsesPrompt(body) {
384
+ const instructions = field(body, "instructions");
385
+ const input = field(body, "input");
386
+ return renderedPrompt([
387
+ ...typeof instructions === "string" ? [{
388
+ role: "system",
389
+ content: instructions
390
+ }] : [],
391
+ ...typeof input === "string" ? [{
392
+ role: "user",
393
+ content: input
394
+ }] : [],
395
+ ...Array.isArray(input) ? roleEntries(input) : []
396
+ ]);
397
+ }
398
+ function openAIResponsesContext(body, response, durationMs) {
399
+ const usage = field(response, "usage");
400
+ return presentFields({ provider: "openai" }, {
401
+ model: nonEmptyString(field(response, "model")) ?? nonEmptyString(field(body, "model")),
402
+ inputTokens: numberField(usage, "input_tokens"),
403
+ outputTokens: numberField(usage, "output_tokens"),
404
+ cachedInputTokens: numberField(field(usage, "input_tokens_details"), "cached_tokens"),
405
+ reasoningTokens: numberField(field(usage, "output_tokens_details"), "reasoning_tokens"),
406
+ costUsd: numberField(usage, "cost")
407
+ }, durationMs);
408
+ }
409
+ new Map([
410
+ {
411
+ key: "openrouter",
412
+ library: "openai",
413
+ matchesReceiver: isOpenRouterCompletions,
414
+ isResponse: (response) => isRecord(response) && Array.isArray(response.choices),
415
+ prompt: openRouterPrompt,
416
+ context: openRouterContext
417
+ },
418
+ {
419
+ key: "anthropic",
420
+ library: "@anthropic-ai/sdk",
421
+ matchesReceiver: isAnthropicMessages,
422
+ isResponse: (response) => field(response, "type") === "message" && Array.isArray(field(response, "content")),
423
+ prompt: anthropicPrompt,
424
+ context: anthropicContext
425
+ },
426
+ {
427
+ key: "openai-responses",
428
+ library: "openai",
429
+ matchesReceiver: isOpenAIResponses,
430
+ isResponse: (response) => field(response, "object") === "response",
431
+ prompt: openAIResponsesPrompt,
432
+ context: openAIResponsesContext
433
+ }
434
+ ].map((provider) => [provider.key, provider]));
435
+ //#endregion
258
436
  //#region src/autoTrace.ts
259
437
  const autoTraceGlobal = globalThis;
260
438
  autoTraceGlobal.__bitfabAutoTraceStateV4 = autoTraceGlobal.__bitfabAutoTraceStateV4 ?? {
@@ -365,13 +543,6 @@ function normalizeRemote(raw) {
365
543
  }
366
544
  Promise.resolve();
367
545
  //#endregion
368
- //#region src/openaiAgentsSpanContext.ts
369
- const spanGlobal = globalThis;
370
- spanGlobal.__bitfabOpenAiAgentsSpansV1 = spanGlobal.__bitfabOpenAiAgentsSpansV1 ?? {
371
- bitfabTraceIds: /* @__PURE__ */ new Map(),
372
- endedSpanIds: /* @__PURE__ */ new Map()
373
- };
374
- //#endregion
375
546
  //#region src/rivetContext.ts
376
547
  let storage = null;
377
548
  const STORAGE_SYMBOL = Symbol.for("bitfab.rivetContextStorage");
@@ -1121,4 +1292,4 @@ function runIfEntrypoint(moduleUrl, main) {
1121
1292
  //#endregion
1122
1293
  export { runRegistryMain as a, runSeedCli as c, runIfEntrypoint as i, parseRegistryCommandArgs as n, checkReplayCliArgs as o, resolveRegistry as r, runReplayCli as s, importRegistry as t };
1123
1294
 
1124
- //# sourceMappingURL=registryCommand-Dk4Y1ZgW.js.map
1295
+ //# sourceMappingURL=registryCommand-D7bfo0Au.js.map