@bitfab/sdk 0.72.1 → 0.73.1

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.
@@ -1709,6 +1709,36 @@ type TraceTarget = {
1709
1709
  occurrence?: TraceTargetOccurrence;
1710
1710
  };
1711
1711
  type TraceAssertionSource = "human" | "agent";
1712
+ /**
1713
+ * Who decides an assertion on a replay. `"judge"`: the LLM judge reads the
1714
+ * run. `"code"`: the assertion's code decides every replay. `"hybrid"`: the
1715
+ * code decides what a program can read and returns `"defer"` to hand the rest
1716
+ * to the LLM judge.
1717
+ */
1718
+ type AssertionKind = "judge" | "code" | "hybrid";
1719
+ /**
1720
+ * Code that decides an assertion's verdict from a run's spans instead of the
1721
+ * LLM judge.
1722
+ */
1723
+ type AssertionCode = {
1724
+ /**
1725
+ * Body of an async TypeScript function (plain JavaScript also works)
1726
+ * called with `spans` (each `{ name, index, hasData }`, in start order,
1727
+ * without its data), `input`, and `output`. It reads span data with
1728
+ * `await named("span name")`, which returns `{ name, index, input, output,
1729
+ * metadata }` for each span with that name, or `await span.data()`. It
1730
+ * returns `"pass"`, `"fail"`, or `"defer"` (hybrid assertions only: hand the
1731
+ * rest to the LLM judge), or `{ result, reason }`. It gets one second of
1732
+ * compute and may load the data of at most 50 spans within ten seconds.
1733
+ */
1734
+ source: string;
1735
+ /**
1736
+ * Every span name the code expects a correct run to produce. A name missing
1737
+ * from a replay and from the function's other sampled replays marks the
1738
+ * code broken instead of failing the replay.
1739
+ */
1740
+ spanNames: string[];
1741
+ };
1712
1742
  type TraceSearchFilters = {
1713
1743
  callerMetadata?: Record<string, string>;
1714
1744
  name?: string;
@@ -1759,6 +1789,12 @@ type TraceAssertion = {
1759
1789
  passCriteria: string | null;
1760
1790
  failCriteria: string | null;
1761
1791
  targetOnEvaluatedTrace: TraceTarget | null;
1792
+ /** Who decides this assertion on a replay. */
1793
+ kind: AssertionKind;
1794
+ /** The code of a code or hybrid assertion, or null for a judge assertion. */
1795
+ code: AssertionCode | null;
1796
+ /** Why the code could not run on a replay, or null while it runs. */
1797
+ codeBrokenReason: string | null;
1762
1798
  source: TraceAssertionSource;
1763
1799
  /** Why this assertion is right for its trace, span by span. */
1764
1800
  justification: Justification | null;
@@ -1796,6 +1832,18 @@ type SaveAssertion = {
1796
1832
  passCriteria?: string | null;
1797
1833
  failCriteria?: string | null;
1798
1834
  targetOnEvaluatedTrace?: TraceTarget | null;
1835
+ /**
1836
+ * Who decides this assertion. Send `"code"` or `"hybrid"` together with
1837
+ * `code`. Omit on an edit to keep it, pass `"judge"` to remove the code.
1838
+ */
1839
+ kind?: AssertionKind;
1840
+ /**
1841
+ * Code that decides the verdict instead of the LLM judge. It is run on this
1842
+ * trace before saving and refused when it throws, returns anything other
1843
+ * than a result, or returns `"defer"` for a `"code"` assertion. Omit on an
1844
+ * edit to keep it.
1845
+ */
1846
+ code?: AssertionCode | null;
1799
1847
  /**
1800
1848
  * Why this assertion is right for this trace, one entry per span it rests on.
1801
1849
  * Cite spans on this trace only. Omit on an edit to preserve it.
@@ -5236,7 +5284,7 @@ interface CommitRef {
5236
5284
  /**
5237
5285
  * SDK version from package.json (injected at build time)
5238
5286
  */
5239
- declare const __version__ = "0.72.1";
5287
+ declare const __version__ = "0.73.1";
5240
5288
  //#endregion
5241
5289
  //#region src/constants.d.ts
5242
5290
  /**
@@ -5378,4 +5426,4 @@ declare function seedFromRegistry(registry: ReplayRegistry, pipeline: string, ca
5378
5426
  run?: boolean;
5379
5427
  }): Promise<SeedResult>;
5380
5428
  //#endregion
5381
- export { RivetEffectType as $, TraceSearchParams as $n, CategorySummary as $r, LabelSource as $t, SpanMethodDecoratorContext as A, BamlExecutionResult as Ai, SaveScenarioActualOutcome as An, GraderRerunProgress as Ar, LangGraphIntegrationOptions as At, getCurrentTrace as B, ScenarioDataOrigin as Bn, SaveDatasetResult as Br, GraderVerdictSource as Bt, NodeMethodDecorator as C, DbSnapshotRef as Ci, AssertionRewrite as Cn, AddDatasetTracesResult as Cr, PiIntegrationOptions as Ct, SeedCaseOptions as D, SelectiveReplayOptions as Di, SaveAssertion as Dn, DatasetsClient as Dr, BitfabAgentMiddleware as Dt, ReseedResult as E, SelectiveReplayDecision as Ei, GenerateAssertionsOptions as En, DatasetTraceIds as Er, BitfabOpenAIAgentHandler as Et, WrapOpenAIResponsesOptions as F, Assignee as Fi, Scenario as Fn, RemoveDatasetGradersResult as Fr, GraderLabelOutcome as Ft, TracingProcessor as G, ScenarioRecordInput as Gn, VercelGenerateResult as Gr, AssertionVerdict as Gt, ActiveSpanContext as H, ScenarioGeneration as Hn, BitfabLanguageModelMiddleware as Hr, GradersClient as Ht, WrapOpenRouterOptions as I, Justification as Ii, ScenarioAction as In, RemoveDatasetTracesResult as Ir, GraderLabelSource as It, SpanListParams as J, TraceAssertion as Jn, AssertionCategoriesClient as Jr, HumanVerdictOutcome as Jt, ListedSpan as K, ScenarioSource as Kn, VercelStreamResult as Kr, HumanLabelOutcome as Kt, WrappedBamlFn as L, JustificationSpan as Li, ScenarioActualOutcome as Ln, RerunGradersOptions as Lr, GraderLabelUpdate as Lt, WrapAnthropicOptions as M, ApprovalFields as Mi, SaveScenarioHistoryEntry as Mn, GraderRerunStatus as Mr, GetGraderLabelsParams as Mt, WrapBAMLOptions as N, ApprovalState as Ni, SaveScenarioParams as Nn, GraderRerunTimeoutError as Nr, GetGraderVerdictsParams as Nt, SeedRunOptions as O, SelectiveReplayReport as Oi, SaveAssertionsAllParams as On, GraderRerun as Or, BitfabLangGraphAgent as Ot, WrapJevOptions as P, Approver as Pi, SavedTraceAssertion as Pn, ListDatasetsParams as Pr, GraderLabel as Pt, RivetContextLike as Q, TraceSearchFilters as Qn, Category as Qr, LabelOutcome as Qt, getCurrentReplayBranch as R, ScenarioData as Rn, RerunGradersResult as Rr, GraderVerdict as Rt, DetachedTrace as S, DbSnapshotProvider as Si, AssertionLabelEvidence as Sn, AddDatasetGradersResult as Sr, BitfabPiIntegration as St, ReseedOptions as T, ReplayNodeIdentity as Ti, AssertionVerdictEvidence as Tn, DatasetGraderRef as Tr, OrganizationMembersClient as Tt, BitfabOpenAITracingProcessor as U, ScenarioHistoryEntry as Un, BitfabVercelAiHandler as Ur, ArchiveLabelTarget as Ut, CaptureSurface as V, ScenarioDataSources as Vn, UpdateDatasetParams as Vr, GraderVerdictUpdate as Vt, TraceResponse as W, ScenarioRecord as Wn, VercelCallParams as Wr, ArchiveVerdictTarget as Wt, SpansClient as X, TraceAssertionsResult as Xn, AssertionCategorySummary as Xr, LabelAction as Xt, SpanListResult as Y, TraceAssertionSource as Yn, AssertionCategory as Yr, HumanVerdictUpdate as Yt, BitfabRivetIntegration as Z, TraceAssertionsUpdate as Zn, CategoriesClient as Zr, LabelConfidence as Zt, BitfabConfig as _, NodeMatcher as _i, AssertionEvidenceParameter as _n, ExperimentSummaryResult as _r, TraceIngestionType as _t, ReplayRegistryOptions as a, SpanLookup as ai, TraceLabels as an, ExperimentCategoryTally as ar, DbBranchOptions as at, CurrentSpan as b, MixedTracingError as bi, AssertionGenerationStatus as bn, ExperimentsClient as br, ReplayInterrupt as bt, SeedResult as c, TokenUsage as ci, VerdictAction as cn, ExperimentPage as cr, ReplayError as ct, seedFromRegistry as d, MockOverride as di, VerdictSource as dn, ExperimentRunBy as dr, ReplayItemFinishProgress as dt, SaveAssertionCategoryParams as ei, LabelStatus as en, TraceSearchResult as er, RivetIntegrationOptions as et, finalizers as f, MockOverrideCtx as fi, VerdictStatus as fn, ExperimentStatus as fr, ReplayItemStartProgress as ft, Bitfab as g, NO_MOCK_OVERRIDE as gi, ArchiveAssertionsParams as gn, ExperimentSummaryFacts as gr, ReplayResult as gt, CommitRef as h, MockValue as hi, VerdictsClient as hn, ExperimentSummaryExampleTrace as hr, ReplayProgressItem as ht, ReplayRegistryContext as i, HttpClient as ii, PassFailVerdict as in, Experiment as ir, BITFAB_PROGRESS_PREFIX as it, SpanOptions as j, ProviderDefinition as ji, SaveScenarioData as jn, GraderRerunResult as jr, BitfabLangGraphCallbackHandler as jt, SpanMethodDecorator as k, AllowedEnvVars as ki, SaveAssertionsParams as kn, GraderRerunError as kr, BitfabLangGraphIntegration as kt, defineReplayRegistry as l, flushTraces as li, VerdictConfidence as ln, ExperimentRollup as lr, ReplayExperiment as lt, __version__ as m, MockOverrideResolver as mi, VerdictUpdate as mn, ExperimentSummaryBeforeAfter as mr, ReplayProgress as mt, ReplayRegistration as n, CapturedSpan as ni, LabelUpdate as nn, TraceTargetOccurrence as nr, AdaptContext as nt, ReseedRegistryResult as o, SpanOccurrence as oi, TraceVerdicts as on, ExperimentCodeChangeTotals as or, DbBranchReplayError as ot, DEFAULT_SERVICE_URL as p, MockOverrideInput as pi, VerdictTarget as pn, ExperimentSummary as pr, ReplayOptions as pt, SpanListField as q, ScenarioTrigger as qn, BitfabClaudeAgentHandler as qr, HumanLabelUpdate as qt, ReplayRegistry as r, CodeChangeFile as ri, LabelsClient as rn, TracesClient as rr, AdaptInputsFn as rt, SeedCase as s, SpanType as si, Verdict as sn, ExperimentJitter as sr, MockStrategy as st, ReplayOptionsFactory as t, SaveCategoryParams as ti, LabelTarget as tn, TraceTarget as tr, ReplayBranch as tt, reseedFromRegistry as u, DbBranchTimings as ui, VerdictOutcome as un, ExperimentRollupResult as ur, ReplayItem as ut, BitfabFunction as v, SpanNodeMeta as vi, AssertionGeneration as vn, ExperimentTally as vr, reportReplayProgress as vt, NodeOptions as w, SUPPORTED_PROVIDERS as wi, AssertionRewriteStatus as wn, Dataset as wr, OrganizationMember as wt, CurrentTrace as x, DbSnapshotConfig as xi, AssertionGenerationTimeoutError as xn, ListExperimentsParams as xr, ReplayInterruptSignal as xt, CaptureWhen as y, BitfabError as yi, AssertionGenerationError as yn, ExperimentTotals as yr, serializeReplayResult as yt, getCurrentSpan as z, ScenarioDataAppend as zn, SaveDatasetParams as zr, GraderVerdictOutcome as zt };
5429
+ export { RivetEffectType as $, TraceAssertionsUpdate as $n, CategoriesClient as $r, LabelSource as $t, SpanMethodDecoratorContext as A, SelectiveReplayReport as Ai, SaveAssertionsAllParams as An, GraderRerun as Ar, LangGraphIntegrationOptions as At, getCurrentTrace as B, ScenarioData as Bn, RerunGradersResult as Br, GraderVerdictSource as Bt, NodeMethodDecorator as C, DbSnapshotConfig as Ci, AssertionKind as Cn, ListExperimentsParams as Cr, PiIntegrationOptions as Ct, SeedCaseOptions as D, ReplayNodeIdentity as Di, AssertionVerdictEvidence as Dn, DatasetGraderRef as Dr, BitfabAgentMiddleware as Dt, ReseedResult as E, SUPPORTED_PROVIDERS as Ei, AssertionRewriteStatus as En, Dataset as Er, BitfabOpenAIAgentHandler as Et, WrapOpenAIResponsesOptions as F, ApprovalState as Fi, SaveScenarioParams as Fn, GraderRerunTimeoutError as Fr, GraderLabelOutcome as Ft, TracingProcessor as G, ScenarioHistoryEntry as Gn, BitfabVercelAiHandler as Gr, AssertionVerdict as Gt, ActiveSpanContext as H, ScenarioDataOrigin as Hn, SaveDatasetResult as Hr, GradersClient as Ht, WrapOpenRouterOptions as I, Approver as Ii, SavedTraceAssertion as In, ListDatasetsParams as Ir, GraderLabelSource as It, SpanListParams as J, ScenarioSource as Jn, VercelStreamResult as Jr, HumanVerdictOutcome as Jt, ListedSpan as K, ScenarioRecord as Kn, VercelCallParams as Kr, HumanLabelOutcome as Kt, WrappedBamlFn as L, Assignee as Li, Scenario as Ln, RemoveDatasetGradersResult as Lr, GraderLabelUpdate as Lt, WrapAnthropicOptions as M, BamlExecutionResult as Mi, SaveScenarioActualOutcome as Mn, GraderRerunProgress as Mr, GetGraderLabelsParams as Mt, WrapBAMLOptions as N, ProviderDefinition as Ni, SaveScenarioData as Nn, GraderRerunResult as Nr, GetGraderVerdictsParams as Nt, SeedRunOptions as O, SelectiveReplayDecision as Oi, GenerateAssertionsOptions as On, DatasetTraceIds as Or, BitfabLangGraphAgent as Ot, WrapJevOptions as P, ApprovalFields as Pi, SaveScenarioHistoryEntry as Pn, GraderRerunStatus as Pr, GraderLabel as Pt, RivetContextLike as Q, TraceAssertionsResult as Qn, AssertionCategorySummary as Qr, LabelOutcome as Qt, getCurrentReplayBranch as R, Justification as Ri, ScenarioAction as Rn, RemoveDatasetTracesResult as Rr, GraderVerdict as Rt, DetachedTrace as S, MixedTracingError as Si, AssertionGenerationTimeoutError as Sn, ExperimentsClient as Sr, BitfabPiIntegration as St, ReseedOptions as T, DbSnapshotRef as Ti, AssertionRewrite as Tn, AddDatasetTracesResult as Tr, OrganizationMembersClient as Tt, BitfabOpenAITracingProcessor as U, ScenarioDataSources as Un, UpdateDatasetParams as Ur, ArchiveLabelTarget as Ut, CaptureSurface as V, ScenarioDataAppend as Vn, SaveDatasetParams as Vr, GraderVerdictUpdate as Vt, TraceResponse as W, ScenarioGeneration as Wn, BitfabLanguageModelMiddleware as Wr, ArchiveVerdictTarget as Wt, SpansClient as X, TraceAssertion as Xn, AssertionCategoriesClient as Xr, LabelAction as Xt, SpanListResult as Y, ScenarioTrigger as Yn, BitfabClaudeAgentHandler as Yr, HumanVerdictUpdate as Yt, BitfabRivetIntegration as Z, TraceAssertionSource as Zn, AssertionCategory as Zr, LabelConfidence as Zt, BitfabConfig as _, MockValue as _i, AssertionCode as _n, ExperimentSummaryExampleTrace as _r, TraceIngestionType as _t, ReplayRegistryOptions as a, CodeChangeFile as ai, TraceLabels as an, TracesClient as ar, DbBranchOptions as at, CurrentSpan as b, SpanNodeMeta as bi, AssertionGenerationError as bn, ExperimentTally as br, ReplayInterrupt as bt, SeedResult as c, SpanOccurrence as ci, VerdictAction as cn, ExperimentCodeChangeTotals as cr, ReplayError as ct, seedFromRegistry as d, flushTraces as di, VerdictSource as dn, ExperimentRollup as dr, ReplayItemFinishProgress as dt, Category as ei, LabelStatus as en, TraceSearchFilters as er, RivetIntegrationOptions as et, finalizers as f, DbBranchTimings as fi, VerdictStatus as fn, ExperimentRollupResult as fr, ReplayItemStartProgress as ft, Bitfab as g, MockOverrideResolver as gi, ArchiveAssertionsParams as gn, ExperimentSummaryBeforeAfter as gr, ReplayResult as gt, CommitRef as h, MockOverrideInput as hi, VerdictsClient as hn, ExperimentSummary as hr, ReplayProgressItem as ht, ReplayRegistryContext as i, CapturedSpan as ii, PassFailVerdict as in, TraceTargetOccurrence as ir, BITFAB_PROGRESS_PREFIX as it, SpanOptions as j, AllowedEnvVars as ji, SaveAssertionsParams as jn, GraderRerunError as jr, BitfabLangGraphCallbackHandler as jt, SpanMethodDecorator as k, SelectiveReplayOptions as ki, SaveAssertion as kn, DatasetsClient as kr, BitfabLangGraphIntegration as kt, defineReplayRegistry as l, SpanType as li, VerdictConfidence as ln, ExperimentJitter as lr, ReplayExperiment as lt, __version__ as m, MockOverrideCtx as mi, VerdictUpdate as mn, ExperimentStatus as mr, ReplayProgress as mt, ReplayRegistration as n, SaveAssertionCategoryParams as ni, LabelUpdate as nn, TraceSearchResult as nr, AdaptContext as nt, ReseedRegistryResult as o, HttpClient as oi, TraceVerdicts as on, Experiment as or, DbBranchReplayError as ot, DEFAULT_SERVICE_URL as p, MockOverride as pi, VerdictTarget as pn, ExperimentRunBy as pr, ReplayOptions as pt, SpanListField as q, ScenarioRecordInput as qn, VercelGenerateResult as qr, HumanLabelUpdate as qt, ReplayRegistry as r, SaveCategoryParams as ri, LabelsClient as rn, TraceTarget as rr, AdaptInputsFn as rt, SeedCase as s, SpanLookup as si, Verdict as sn, ExperimentCategoryTally as sr, MockStrategy as st, ReplayOptionsFactory as t, CategorySummary as ti, LabelTarget as tn, TraceSearchParams as tr, ReplayBranch as tt, reseedFromRegistry as u, TokenUsage as ui, VerdictOutcome as un, ExperimentPage as ur, ReplayItem as ut, BitfabFunction as v, NO_MOCK_OVERRIDE as vi, AssertionEvidenceParameter as vn, ExperimentSummaryFacts as vr, reportReplayProgress as vt, NodeOptions as w, DbSnapshotProvider as wi, AssertionLabelEvidence as wn, AddDatasetGradersResult as wr, OrganizationMember as wt, CurrentTrace as x, BitfabError as xi, AssertionGenerationStatus as xn, ExperimentTotals as xr, ReplayInterruptSignal as xt, CaptureWhen as y, NodeMatcher as yi, AssertionGeneration as yn, ExperimentSummaryResult as yr, serializeReplayResult as yt, getCurrentSpan as z, JustificationSpan as zi, ScenarioActualOutcome as zn, RerunGradersOptions as zr, GraderVerdictOutcome as zt };
@@ -1709,6 +1709,36 @@ type TraceTarget = {
1709
1709
  occurrence?: TraceTargetOccurrence;
1710
1710
  };
1711
1711
  type TraceAssertionSource = "human" | "agent";
1712
+ /**
1713
+ * Who decides an assertion on a replay. `"judge"`: the LLM judge reads the
1714
+ * run. `"code"`: the assertion's code decides every replay. `"hybrid"`: the
1715
+ * code decides what a program can read and returns `"defer"` to hand the rest
1716
+ * to the LLM judge.
1717
+ */
1718
+ type AssertionKind = "judge" | "code" | "hybrid";
1719
+ /**
1720
+ * Code that decides an assertion's verdict from a run's spans instead of the
1721
+ * LLM judge.
1722
+ */
1723
+ type AssertionCode = {
1724
+ /**
1725
+ * Body of an async TypeScript function (plain JavaScript also works)
1726
+ * called with `spans` (each `{ name, index, hasData }`, in start order,
1727
+ * without its data), `input`, and `output`. It reads span data with
1728
+ * `await named("span name")`, which returns `{ name, index, input, output,
1729
+ * metadata }` for each span with that name, or `await span.data()`. It
1730
+ * returns `"pass"`, `"fail"`, or `"defer"` (hybrid assertions only: hand the
1731
+ * rest to the LLM judge), or `{ result, reason }`. It gets one second of
1732
+ * compute and may load the data of at most 50 spans within ten seconds.
1733
+ */
1734
+ source: string;
1735
+ /**
1736
+ * Every span name the code expects a correct run to produce. A name missing
1737
+ * from a replay and from the function's other sampled replays marks the
1738
+ * code broken instead of failing the replay.
1739
+ */
1740
+ spanNames: string[];
1741
+ };
1712
1742
  type TraceSearchFilters = {
1713
1743
  callerMetadata?: Record<string, string>;
1714
1744
  name?: string;
@@ -1759,6 +1789,12 @@ type TraceAssertion = {
1759
1789
  passCriteria: string | null;
1760
1790
  failCriteria: string | null;
1761
1791
  targetOnEvaluatedTrace: TraceTarget | null;
1792
+ /** Who decides this assertion on a replay. */
1793
+ kind: AssertionKind;
1794
+ /** The code of a code or hybrid assertion, or null for a judge assertion. */
1795
+ code: AssertionCode | null;
1796
+ /** Why the code could not run on a replay, or null while it runs. */
1797
+ codeBrokenReason: string | null;
1762
1798
  source: TraceAssertionSource;
1763
1799
  /** Why this assertion is right for its trace, span by span. */
1764
1800
  justification: Justification | null;
@@ -1796,6 +1832,18 @@ type SaveAssertion = {
1796
1832
  passCriteria?: string | null;
1797
1833
  failCriteria?: string | null;
1798
1834
  targetOnEvaluatedTrace?: TraceTarget | null;
1835
+ /**
1836
+ * Who decides this assertion. Send `"code"` or `"hybrid"` together with
1837
+ * `code`. Omit on an edit to keep it, pass `"judge"` to remove the code.
1838
+ */
1839
+ kind?: AssertionKind;
1840
+ /**
1841
+ * Code that decides the verdict instead of the LLM judge. It is run on this
1842
+ * trace before saving and refused when it throws, returns anything other
1843
+ * than a result, or returns `"defer"` for a `"code"` assertion. Omit on an
1844
+ * edit to keep it.
1845
+ */
1846
+ code?: AssertionCode | null;
1799
1847
  /**
1800
1848
  * Why this assertion is right for this trace, one entry per span it rests on.
1801
1849
  * Cite spans on this trace only. Omit on an edit to preserve it.
@@ -5236,7 +5284,7 @@ interface CommitRef {
5236
5284
  /**
5237
5285
  * SDK version from package.json (injected at build time)
5238
5286
  */
5239
- declare const __version__ = "0.72.1";
5287
+ declare const __version__ = "0.73.1";
5240
5288
  //#endregion
5241
5289
  //#region src/constants.d.ts
5242
5290
  /**
@@ -5378,4 +5426,4 @@ declare function seedFromRegistry(registry: ReplayRegistry, pipeline: string, ca
5378
5426
  run?: boolean;
5379
5427
  }): Promise<SeedResult>;
5380
5428
  //#endregion
5381
- export { RivetEffectType as $, TraceSearchParams as $n, CategorySummary as $r, LabelSource as $t, SpanMethodDecoratorContext as A, BamlExecutionResult as Ai, SaveScenarioActualOutcome as An, GraderRerunProgress as Ar, LangGraphIntegrationOptions as At, getCurrentTrace as B, ScenarioDataOrigin as Bn, SaveDatasetResult as Br, GraderVerdictSource as Bt, NodeMethodDecorator as C, DbSnapshotRef as Ci, AssertionRewrite as Cn, AddDatasetTracesResult as Cr, PiIntegrationOptions as Ct, SeedCaseOptions as D, SelectiveReplayOptions as Di, SaveAssertion as Dn, DatasetsClient as Dr, BitfabAgentMiddleware as Dt, ReseedResult as E, SelectiveReplayDecision as Ei, GenerateAssertionsOptions as En, DatasetTraceIds as Er, BitfabOpenAIAgentHandler as Et, WrapOpenAIResponsesOptions as F, Assignee as Fi, Scenario as Fn, RemoveDatasetGradersResult as Fr, GraderLabelOutcome as Ft, TracingProcessor as G, ScenarioRecordInput as Gn, VercelGenerateResult as Gr, AssertionVerdict as Gt, ActiveSpanContext as H, ScenarioGeneration as Hn, BitfabLanguageModelMiddleware as Hr, GradersClient as Ht, WrapOpenRouterOptions as I, Justification as Ii, ScenarioAction as In, RemoveDatasetTracesResult as Ir, GraderLabelSource as It, SpanListParams as J, TraceAssertion as Jn, AssertionCategoriesClient as Jr, HumanVerdictOutcome as Jt, ListedSpan as K, ScenarioSource as Kn, VercelStreamResult as Kr, HumanLabelOutcome as Kt, WrappedBamlFn as L, JustificationSpan as Li, ScenarioActualOutcome as Ln, RerunGradersOptions as Lr, GraderLabelUpdate as Lt, WrapAnthropicOptions as M, ApprovalFields as Mi, SaveScenarioHistoryEntry as Mn, GraderRerunStatus as Mr, GetGraderLabelsParams as Mt, WrapBAMLOptions as N, ApprovalState as Ni, SaveScenarioParams as Nn, GraderRerunTimeoutError as Nr, GetGraderVerdictsParams as Nt, SeedRunOptions as O, SelectiveReplayReport as Oi, SaveAssertionsAllParams as On, GraderRerun as Or, BitfabLangGraphAgent as Ot, WrapJevOptions as P, Approver as Pi, SavedTraceAssertion as Pn, ListDatasetsParams as Pr, GraderLabel as Pt, RivetContextLike as Q, TraceSearchFilters as Qn, Category as Qr, LabelOutcome as Qt, getCurrentReplayBranch as R, ScenarioData as Rn, RerunGradersResult as Rr, GraderVerdict as Rt, DetachedTrace as S, DbSnapshotProvider as Si, AssertionLabelEvidence as Sn, AddDatasetGradersResult as Sr, BitfabPiIntegration as St, ReseedOptions as T, ReplayNodeIdentity as Ti, AssertionVerdictEvidence as Tn, DatasetGraderRef as Tr, OrganizationMembersClient as Tt, BitfabOpenAITracingProcessor as U, ScenarioHistoryEntry as Un, BitfabVercelAiHandler as Ur, ArchiveLabelTarget as Ut, CaptureSurface as V, ScenarioDataSources as Vn, UpdateDatasetParams as Vr, GraderVerdictUpdate as Vt, TraceResponse as W, ScenarioRecord as Wn, VercelCallParams as Wr, ArchiveVerdictTarget as Wt, SpansClient as X, TraceAssertionsResult as Xn, AssertionCategorySummary as Xr, LabelAction as Xt, SpanListResult as Y, TraceAssertionSource as Yn, AssertionCategory as Yr, HumanVerdictUpdate as Yt, BitfabRivetIntegration as Z, TraceAssertionsUpdate as Zn, CategoriesClient as Zr, LabelConfidence as Zt, BitfabConfig as _, NodeMatcher as _i, AssertionEvidenceParameter as _n, ExperimentSummaryResult as _r, TraceIngestionType as _t, ReplayRegistryOptions as a, SpanLookup as ai, TraceLabels as an, ExperimentCategoryTally as ar, DbBranchOptions as at, CurrentSpan as b, MixedTracingError as bi, AssertionGenerationStatus as bn, ExperimentsClient as br, ReplayInterrupt as bt, SeedResult as c, TokenUsage as ci, VerdictAction as cn, ExperimentPage as cr, ReplayError as ct, seedFromRegistry as d, MockOverride as di, VerdictSource as dn, ExperimentRunBy as dr, ReplayItemFinishProgress as dt, SaveAssertionCategoryParams as ei, LabelStatus as en, TraceSearchResult as er, RivetIntegrationOptions as et, finalizers as f, MockOverrideCtx as fi, VerdictStatus as fn, ExperimentStatus as fr, ReplayItemStartProgress as ft, Bitfab as g, NO_MOCK_OVERRIDE as gi, ArchiveAssertionsParams as gn, ExperimentSummaryFacts as gr, ReplayResult as gt, CommitRef as h, MockValue as hi, VerdictsClient as hn, ExperimentSummaryExampleTrace as hr, ReplayProgressItem as ht, ReplayRegistryContext as i, HttpClient as ii, PassFailVerdict as in, Experiment as ir, BITFAB_PROGRESS_PREFIX as it, SpanOptions as j, ProviderDefinition as ji, SaveScenarioData as jn, GraderRerunResult as jr, BitfabLangGraphCallbackHandler as jt, SpanMethodDecorator as k, AllowedEnvVars as ki, SaveAssertionsParams as kn, GraderRerunError as kr, BitfabLangGraphIntegration as kt, defineReplayRegistry as l, flushTraces as li, VerdictConfidence as ln, ExperimentRollup as lr, ReplayExperiment as lt, __version__ as m, MockOverrideResolver as mi, VerdictUpdate as mn, ExperimentSummaryBeforeAfter as mr, ReplayProgress as mt, ReplayRegistration as n, CapturedSpan as ni, LabelUpdate as nn, TraceTargetOccurrence as nr, AdaptContext as nt, ReseedRegistryResult as o, SpanOccurrence as oi, TraceVerdicts as on, ExperimentCodeChangeTotals as or, DbBranchReplayError as ot, DEFAULT_SERVICE_URL as p, MockOverrideInput as pi, VerdictTarget as pn, ExperimentSummary as pr, ReplayOptions as pt, SpanListField as q, ScenarioTrigger as qn, BitfabClaudeAgentHandler as qr, HumanLabelUpdate as qt, ReplayRegistry as r, CodeChangeFile as ri, LabelsClient as rn, TracesClient as rr, AdaptInputsFn as rt, SeedCase as s, SpanType as si, Verdict as sn, ExperimentJitter as sr, MockStrategy as st, ReplayOptionsFactory as t, SaveCategoryParams as ti, LabelTarget as tn, TraceTarget as tr, ReplayBranch as tt, reseedFromRegistry as u, DbBranchTimings as ui, VerdictOutcome as un, ExperimentRollupResult as ur, ReplayItem as ut, BitfabFunction as v, SpanNodeMeta as vi, AssertionGeneration as vn, ExperimentTally as vr, reportReplayProgress as vt, NodeOptions as w, SUPPORTED_PROVIDERS as wi, AssertionRewriteStatus as wn, Dataset as wr, OrganizationMember as wt, CurrentTrace as x, DbSnapshotConfig as xi, AssertionGenerationTimeoutError as xn, ListExperimentsParams as xr, ReplayInterruptSignal as xt, CaptureWhen as y, BitfabError as yi, AssertionGenerationError as yn, ExperimentTotals as yr, serializeReplayResult as yt, getCurrentSpan as z, ScenarioDataAppend as zn, SaveDatasetParams as zr, GraderVerdictOutcome as zt };
5429
+ export { RivetEffectType as $, TraceAssertionsUpdate as $n, CategoriesClient as $r, LabelSource as $t, SpanMethodDecoratorContext as A, SelectiveReplayReport as Ai, SaveAssertionsAllParams as An, GraderRerun as Ar, LangGraphIntegrationOptions as At, getCurrentTrace as B, ScenarioData as Bn, RerunGradersResult as Br, GraderVerdictSource as Bt, NodeMethodDecorator as C, DbSnapshotConfig as Ci, AssertionKind as Cn, ListExperimentsParams as Cr, PiIntegrationOptions as Ct, SeedCaseOptions as D, ReplayNodeIdentity as Di, AssertionVerdictEvidence as Dn, DatasetGraderRef as Dr, BitfabAgentMiddleware as Dt, ReseedResult as E, SUPPORTED_PROVIDERS as Ei, AssertionRewriteStatus as En, Dataset as Er, BitfabOpenAIAgentHandler as Et, WrapOpenAIResponsesOptions as F, ApprovalState as Fi, SaveScenarioParams as Fn, GraderRerunTimeoutError as Fr, GraderLabelOutcome as Ft, TracingProcessor as G, ScenarioHistoryEntry as Gn, BitfabVercelAiHandler as Gr, AssertionVerdict as Gt, ActiveSpanContext as H, ScenarioDataOrigin as Hn, SaveDatasetResult as Hr, GradersClient as Ht, WrapOpenRouterOptions as I, Approver as Ii, SavedTraceAssertion as In, ListDatasetsParams as Ir, GraderLabelSource as It, SpanListParams as J, ScenarioSource as Jn, VercelStreamResult as Jr, HumanVerdictOutcome as Jt, ListedSpan as K, ScenarioRecord as Kn, VercelCallParams as Kr, HumanLabelOutcome as Kt, WrappedBamlFn as L, Assignee as Li, Scenario as Ln, RemoveDatasetGradersResult as Lr, GraderLabelUpdate as Lt, WrapAnthropicOptions as M, BamlExecutionResult as Mi, SaveScenarioActualOutcome as Mn, GraderRerunProgress as Mr, GetGraderLabelsParams as Mt, WrapBAMLOptions as N, ProviderDefinition as Ni, SaveScenarioData as Nn, GraderRerunResult as Nr, GetGraderVerdictsParams as Nt, SeedRunOptions as O, SelectiveReplayDecision as Oi, GenerateAssertionsOptions as On, DatasetTraceIds as Or, BitfabLangGraphAgent as Ot, WrapJevOptions as P, ApprovalFields as Pi, SaveScenarioHistoryEntry as Pn, GraderRerunStatus as Pr, GraderLabel as Pt, RivetContextLike as Q, TraceAssertionsResult as Qn, AssertionCategorySummary as Qr, LabelOutcome as Qt, getCurrentReplayBranch as R, Justification as Ri, ScenarioAction as Rn, RemoveDatasetTracesResult as Rr, GraderVerdict as Rt, DetachedTrace as S, MixedTracingError as Si, AssertionGenerationTimeoutError as Sn, ExperimentsClient as Sr, BitfabPiIntegration as St, ReseedOptions as T, DbSnapshotRef as Ti, AssertionRewrite as Tn, AddDatasetTracesResult as Tr, OrganizationMembersClient as Tt, BitfabOpenAITracingProcessor as U, ScenarioDataSources as Un, UpdateDatasetParams as Ur, ArchiveLabelTarget as Ut, CaptureSurface as V, ScenarioDataAppend as Vn, SaveDatasetParams as Vr, GraderVerdictUpdate as Vt, TraceResponse as W, ScenarioGeneration as Wn, BitfabLanguageModelMiddleware as Wr, ArchiveVerdictTarget as Wt, SpansClient as X, TraceAssertion as Xn, AssertionCategoriesClient as Xr, LabelAction as Xt, SpanListResult as Y, ScenarioTrigger as Yn, BitfabClaudeAgentHandler as Yr, HumanVerdictUpdate as Yt, BitfabRivetIntegration as Z, TraceAssertionSource as Zn, AssertionCategory as Zr, LabelConfidence as Zt, BitfabConfig as _, MockValue as _i, AssertionCode as _n, ExperimentSummaryExampleTrace as _r, TraceIngestionType as _t, ReplayRegistryOptions as a, CodeChangeFile as ai, TraceLabels as an, TracesClient as ar, DbBranchOptions as at, CurrentSpan as b, SpanNodeMeta as bi, AssertionGenerationError as bn, ExperimentTally as br, ReplayInterrupt as bt, SeedResult as c, SpanOccurrence as ci, VerdictAction as cn, ExperimentCodeChangeTotals as cr, ReplayError as ct, seedFromRegistry as d, flushTraces as di, VerdictSource as dn, ExperimentRollup as dr, ReplayItemFinishProgress as dt, Category as ei, LabelStatus as en, TraceSearchFilters as er, RivetIntegrationOptions as et, finalizers as f, DbBranchTimings as fi, VerdictStatus as fn, ExperimentRollupResult as fr, ReplayItemStartProgress as ft, Bitfab as g, MockOverrideResolver as gi, ArchiveAssertionsParams as gn, ExperimentSummaryBeforeAfter as gr, ReplayResult as gt, CommitRef as h, MockOverrideInput as hi, VerdictsClient as hn, ExperimentSummary as hr, ReplayProgressItem as ht, ReplayRegistryContext as i, CapturedSpan as ii, PassFailVerdict as in, TraceTargetOccurrence as ir, BITFAB_PROGRESS_PREFIX as it, SpanOptions as j, AllowedEnvVars as ji, SaveAssertionsParams as jn, GraderRerunError as jr, BitfabLangGraphCallbackHandler as jt, SpanMethodDecorator as k, SelectiveReplayOptions as ki, SaveAssertion as kn, DatasetsClient as kr, BitfabLangGraphIntegration as kt, defineReplayRegistry as l, SpanType as li, VerdictConfidence as ln, ExperimentJitter as lr, ReplayExperiment as lt, __version__ as m, MockOverrideCtx as mi, VerdictUpdate as mn, ExperimentStatus as mr, ReplayProgress as mt, ReplayRegistration as n, SaveAssertionCategoryParams as ni, LabelUpdate as nn, TraceSearchResult as nr, AdaptContext as nt, ReseedRegistryResult as o, HttpClient as oi, TraceVerdicts as on, Experiment as or, DbBranchReplayError as ot, DEFAULT_SERVICE_URL as p, MockOverride as pi, VerdictTarget as pn, ExperimentRunBy as pr, ReplayOptions as pt, SpanListField as q, ScenarioRecordInput as qn, VercelGenerateResult as qr, HumanLabelUpdate as qt, ReplayRegistry as r, SaveCategoryParams as ri, LabelsClient as rn, TraceTarget as rr, AdaptInputsFn as rt, SeedCase as s, SpanLookup as si, Verdict as sn, ExperimentCategoryTally as sr, MockStrategy as st, ReplayOptionsFactory as t, CategorySummary as ti, LabelTarget as tn, TraceSearchParams as tr, ReplayBranch as tt, reseedFromRegistry as u, TokenUsage as ui, VerdictOutcome as un, ExperimentPage as ur, ReplayItem as ut, BitfabFunction as v, NO_MOCK_OVERRIDE as vi, AssertionEvidenceParameter as vn, ExperimentSummaryFacts as vr, reportReplayProgress as vt, NodeOptions as w, DbSnapshotProvider as wi, AssertionLabelEvidence as wn, AddDatasetGradersResult as wr, OrganizationMember as wt, CurrentTrace as x, BitfabError as xi, AssertionGenerationStatus as xn, ExperimentTotals as xr, ReplayInterruptSignal as xt, CaptureWhen as y, NodeMatcher as yi, AssertionGeneration as yn, ExperimentSummaryResult as yr, serializeReplayResult as yt, getCurrentSpan as z, JustificationSpan as zi, ScenarioActualOutcome as zn, RerunGradersOptions as zr, GraderVerdictOutcome as zt };
package/dist/index.cjs CHANGED
@@ -2,8 +2,8 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_src = require("./src-mBkY21Zg.cjs");
6
- const require_http = require("./http-DAoujTzS.cjs");
5
+ const require_src = require("./src-C-veJzA9.cjs");
6
+ const require_http = require("./http-DUY2I-aR.cjs");
7
7
  exports.AssertionCategoriesClient = require_src.AssertionCategoriesClient;
8
8
  exports.AssertionGenerationError = require_src.AssertionGenerationError;
9
9
  exports.AssertionGenerationTimeoutError = require_src.AssertionGenerationTimeoutError;
package/dist/index.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as RivetEffectType, $n as TraceSearchParams, $r as CategorySummary, $t as LabelSource, A as SpanMethodDecoratorContext, Ai as BamlExecutionResult, An as SaveScenarioActualOutcome, Ar as GraderRerunProgress, At as LangGraphIntegrationOptions, B as getCurrentTrace, Bn as ScenarioDataOrigin, Br as SaveDatasetResult, Bt as GraderVerdictSource, C as NodeMethodDecorator, Ci as DbSnapshotRef, Cn as AssertionRewrite, Cr as AddDatasetTracesResult, Ct as PiIntegrationOptions, D as SeedCaseOptions, Di as SelectiveReplayOptions, Dn as SaveAssertion, Dr as DatasetsClient, Dt as BitfabAgentMiddleware, E as ReseedResult, Ei as SelectiveReplayDecision, En as GenerateAssertionsOptions, Er as DatasetTraceIds, Et as BitfabOpenAIAgentHandler, F as WrapOpenAIResponsesOptions, Fi as Assignee, Fn as Scenario, Fr as RemoveDatasetGradersResult, Ft as GraderLabelOutcome, G as TracingProcessor, Gn as ScenarioRecordInput, Gr as VercelGenerateResult, Gt as AssertionVerdict, H as ActiveSpanContext, Hn as ScenarioGeneration, Hr as BitfabLanguageModelMiddleware, Ht as GradersClient, I as WrapOpenRouterOptions, Ii as Justification, In as ScenarioAction, Ir as RemoveDatasetTracesResult, It as GraderLabelSource, J as SpanListParams, Jn as TraceAssertion, Jr as AssertionCategoriesClient, Jt as HumanVerdictOutcome, K as ListedSpan, Kn as ScenarioSource, Kr as VercelStreamResult, Kt as HumanLabelOutcome, L as WrappedBamlFn, Li as JustificationSpan, Ln as ScenarioActualOutcome, Lr as RerunGradersOptions, Lt as GraderLabelUpdate, M as WrapAnthropicOptions, Mi as ApprovalFields, Mn as SaveScenarioHistoryEntry, Mr as GraderRerunStatus, Mt as GetGraderLabelsParams, N as WrapBAMLOptions, Ni as ApprovalState, Nn as SaveScenarioParams, Nr as GraderRerunTimeoutError, Nt as GetGraderVerdictsParams, O as SeedRunOptions, Oi as SelectiveReplayReport, On as SaveAssertionsAllParams, Or as GraderRerun, Ot as BitfabLangGraphAgent, P as WrapJevOptions, Pi as Approver, Pn as SavedTraceAssertion, Pr as ListDatasetsParams, Pt as GraderLabel, Q as RivetContextLike, Qn as TraceSearchFilters, Qr as Category, Qt as LabelOutcome, R as getCurrentReplayBranch, Rn as ScenarioData, Rr as RerunGradersResult, Rt as GraderVerdict, S as DetachedTrace, Si as DbSnapshotProvider, Sn as AssertionLabelEvidence, Sr as AddDatasetGradersResult, St as BitfabPiIntegration, T as ReseedOptions, Ti as ReplayNodeIdentity, Tn as AssertionVerdictEvidence, Tr as DatasetGraderRef, Tt as OrganizationMembersClient, U as BitfabOpenAITracingProcessor, Un as ScenarioHistoryEntry, Ur as BitfabVercelAiHandler, Ut as ArchiveLabelTarget, V as CaptureSurface, Vn as ScenarioDataSources, Vr as UpdateDatasetParams, Vt as GraderVerdictUpdate, W as TraceResponse, Wn as ScenarioRecord, Wr as VercelCallParams, Wt as ArchiveVerdictTarget, X as SpansClient, Xn as TraceAssertionsResult, Xr as AssertionCategorySummary, Xt as LabelAction, Y as SpanListResult, Yn as TraceAssertionSource, Yr as AssertionCategory, Yt as HumanVerdictUpdate, Z as BitfabRivetIntegration, Zn as TraceAssertionsUpdate, Zr as CategoriesClient, Zt as LabelConfidence, _ as BitfabConfig, _i as NodeMatcher, _n as AssertionEvidenceParameter, _r as ExperimentSummaryResult, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as SpanLookup, an as TraceLabels, ar as ExperimentCategoryTally, at as DbBranchOptions, b as CurrentSpan, bi as MixedTracingError, bn as AssertionGenerationStatus, br as ExperimentsClient, bt as ReplayInterrupt, c as SeedResult, ci as TokenUsage, cn as VerdictAction, cr as ExperimentPage, ct as ReplayError, d as seedFromRegistry, di as MockOverride, dn as VerdictSource, dr as ExperimentRunBy, dt as ReplayItemFinishProgress, ei as SaveAssertionCategoryParams, en as LabelStatus, er as TraceSearchResult, et as RivetIntegrationOptions, f as finalizers, fi as MockOverrideCtx, fn as VerdictStatus, fr as ExperimentStatus, ft as ReplayItemStartProgress, g as Bitfab, gi as NO_MOCK_OVERRIDE, gn as ArchiveAssertionsParams, gr as ExperimentSummaryFacts, gt as ReplayResult, h as CommitRef, hi as MockValue, hn as VerdictsClient, hr as ExperimentSummaryExampleTrace, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as HttpClient, in as PassFailVerdict, ir as Experiment, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, ji as ProviderDefinition, jn as SaveScenarioData, jr as GraderRerunResult, jt as BitfabLangGraphCallbackHandler, k as SpanMethodDecorator, ki as AllowedEnvVars, kn as SaveAssertionsParams, kr as GraderRerunError, kt as BitfabLangGraphIntegration, l as defineReplayRegistry, li as flushTraces, ln as VerdictConfidence, lr as ExperimentRollup, lt as ReplayExperiment, m as __version__, mi as MockOverrideResolver, mn as VerdictUpdate, mr as ExperimentSummaryBeforeAfter, mt as ReplayProgress, n as ReplayRegistration, ni as CapturedSpan, nn as LabelUpdate, nr as TraceTargetOccurrence, nt as AdaptContext, o as ReseedRegistryResult, oi as SpanOccurrence, on as TraceVerdicts, or as ExperimentCodeChangeTotals, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as MockOverrideInput, pn as VerdictTarget, pr as ExperimentSummary, pt as ReplayOptions, q as SpanListField, qn as ScenarioTrigger, qr as BitfabClaudeAgentHandler, qt as HumanLabelUpdate, r as ReplayRegistry, ri as CodeChangeFile, rn as LabelsClient, rr as TracesClient, rt as AdaptInputsFn, s as SeedCase, si as SpanType, sn as Verdict, sr as ExperimentJitter, st as MockStrategy, t as ReplayOptionsFactory, ti as SaveCategoryParams, tn as LabelTarget, tr as TraceTarget, tt as ReplayBranch, u as reseedFromRegistry, ui as DbBranchTimings, un as VerdictOutcome, ur as ExperimentRollupResult, ut as ReplayItem, v as BitfabFunction, vi as SpanNodeMeta, vn as AssertionGeneration, vr as ExperimentTally, vt as reportReplayProgress, w as NodeOptions, wi as SUPPORTED_PROVIDERS, wn as AssertionRewriteStatus, wr as Dataset, wt as OrganizationMember, x as CurrentTrace, xi as DbSnapshotConfig, xn as AssertionGenerationTimeoutError, xr as ListExperimentsParams, xt as ReplayInterruptSignal, y as CaptureWhen, yi as BitfabError, yn as AssertionGenerationError, yr as ExperimentTotals, yt as serializeReplayResult, z as getCurrentSpan, zn as ScenarioDataAppend, zr as SaveDatasetParams, zt as GraderVerdictOutcome } from "./index-Dioj_VO0.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, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type PiIntegrationOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type 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 };
1
+ import { $ as RivetEffectType, $n as TraceAssertionsUpdate, $r as CategoriesClient, $t as LabelSource, A as SpanMethodDecoratorContext, Ai as SelectiveReplayReport, An as SaveAssertionsAllParams, Ar as GraderRerun, At as LangGraphIntegrationOptions, B as getCurrentTrace, Bn as ScenarioData, Br as RerunGradersResult, Bt as GraderVerdictSource, C as NodeMethodDecorator, Ci as DbSnapshotConfig, Cn as AssertionKind, Cr as ListExperimentsParams, Ct as PiIntegrationOptions, D as SeedCaseOptions, Di as ReplayNodeIdentity, Dn as AssertionVerdictEvidence, Dr as DatasetGraderRef, Dt as BitfabAgentMiddleware, E as ReseedResult, Ei as SUPPORTED_PROVIDERS, En as AssertionRewriteStatus, Er as Dataset, Et as BitfabOpenAIAgentHandler, F as WrapOpenAIResponsesOptions, Fi as ApprovalState, Fn as SaveScenarioParams, Fr as GraderRerunTimeoutError, Ft as GraderLabelOutcome, G as TracingProcessor, Gn as ScenarioHistoryEntry, Gr as BitfabVercelAiHandler, Gt as AssertionVerdict, H as ActiveSpanContext, Hn as ScenarioDataOrigin, Hr as SaveDatasetResult, Ht as GradersClient, I as WrapOpenRouterOptions, Ii as Approver, In as SavedTraceAssertion, Ir as ListDatasetsParams, It as GraderLabelSource, J as SpanListParams, Jn as ScenarioSource, Jr as VercelStreamResult, Jt as HumanVerdictOutcome, K as ListedSpan, Kn as ScenarioRecord, Kr as VercelCallParams, Kt as HumanLabelOutcome, L as WrappedBamlFn, Li as Assignee, Ln as Scenario, Lr as RemoveDatasetGradersResult, Lt as GraderLabelUpdate, M as WrapAnthropicOptions, Mi as BamlExecutionResult, Mn as SaveScenarioActualOutcome, Mr as GraderRerunProgress, Mt as GetGraderLabelsParams, N as WrapBAMLOptions, Ni as ProviderDefinition, Nn as SaveScenarioData, Nr as GraderRerunResult, Nt as GetGraderVerdictsParams, O as SeedRunOptions, Oi as SelectiveReplayDecision, On as GenerateAssertionsOptions, Or as DatasetTraceIds, Ot as BitfabLangGraphAgent, P as WrapJevOptions, Pi as ApprovalFields, Pn as SaveScenarioHistoryEntry, Pr as GraderRerunStatus, Pt as GraderLabel, Q as RivetContextLike, Qn as TraceAssertionsResult, Qr as AssertionCategorySummary, Qt as LabelOutcome, R as getCurrentReplayBranch, Ri as Justification, Rn as ScenarioAction, Rr as RemoveDatasetTracesResult, Rt as GraderVerdict, S as DetachedTrace, Si as MixedTracingError, Sn as AssertionGenerationTimeoutError, Sr as ExperimentsClient, St as BitfabPiIntegration, T as ReseedOptions, Ti as DbSnapshotRef, Tn as AssertionRewrite, Tr as AddDatasetTracesResult, Tt as OrganizationMembersClient, U as BitfabOpenAITracingProcessor, Un as ScenarioDataSources, Ur as UpdateDatasetParams, Ut as ArchiveLabelTarget, V as CaptureSurface, Vn as ScenarioDataAppend, Vr as SaveDatasetParams, Vt as GraderVerdictUpdate, W as TraceResponse, Wn as ScenarioGeneration, Wr as BitfabLanguageModelMiddleware, Wt as ArchiveVerdictTarget, X as SpansClient, Xn as TraceAssertion, Xr as AssertionCategoriesClient, Xt as LabelAction, Y as SpanListResult, Yn as ScenarioTrigger, Yr as BitfabClaudeAgentHandler, Yt as HumanVerdictUpdate, Z as BitfabRivetIntegration, Zn as TraceAssertionSource, Zr as AssertionCategory, Zt as LabelConfidence, _ as BitfabConfig, _i as MockValue, _n as AssertionCode, _r as ExperimentSummaryExampleTrace, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as CodeChangeFile, an as TraceLabels, ar as TracesClient, at as DbBranchOptions, b as CurrentSpan, bi as SpanNodeMeta, bn as AssertionGenerationError, br as ExperimentTally, bt as ReplayInterrupt, c as SeedResult, ci as SpanOccurrence, cn as VerdictAction, cr as ExperimentCodeChangeTotals, ct as ReplayError, d as seedFromRegistry, di as flushTraces, dn as VerdictSource, dr as ExperimentRollup, dt as ReplayItemFinishProgress, ei as Category, en as LabelStatus, er as TraceSearchFilters, et as RivetIntegrationOptions, f as finalizers, fi as DbBranchTimings, fn as VerdictStatus, fr as ExperimentRollupResult, ft as ReplayItemStartProgress, g as Bitfab, gi as MockOverrideResolver, gn as ArchiveAssertionsParams, gr as ExperimentSummaryBeforeAfter, gt as ReplayResult, h as CommitRef, hi as MockOverrideInput, hn as VerdictsClient, hr as ExperimentSummary, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as CapturedSpan, in as PassFailVerdict, ir as TraceTargetOccurrence, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, ji as AllowedEnvVars, jn as SaveAssertionsParams, jr as GraderRerunError, jt as BitfabLangGraphCallbackHandler, k as SpanMethodDecorator, ki as SelectiveReplayOptions, kn as SaveAssertion, kr as DatasetsClient, kt as BitfabLangGraphIntegration, l as defineReplayRegistry, li as SpanType, ln as VerdictConfidence, lr as ExperimentJitter, lt as ReplayExperiment, m as __version__, mi as MockOverrideCtx, mn as VerdictUpdate, mr as ExperimentStatus, mt as ReplayProgress, n as ReplayRegistration, ni as SaveAssertionCategoryParams, nn as LabelUpdate, nr as TraceSearchResult, nt as AdaptContext, o as ReseedRegistryResult, oi as HttpClient, on as TraceVerdicts, or as Experiment, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as MockOverride, pn as VerdictTarget, pr as ExperimentRunBy, pt as ReplayOptions, q as SpanListField, qn as ScenarioRecordInput, qr as VercelGenerateResult, qt as HumanLabelUpdate, r as ReplayRegistry, ri as SaveCategoryParams, rn as LabelsClient, rr as TraceTarget, rt as AdaptInputsFn, s as SeedCase, si as SpanLookup, sn as Verdict, sr as ExperimentCategoryTally, st as MockStrategy, t as ReplayOptionsFactory, ti as CategorySummary, tn as LabelTarget, tr as TraceSearchParams, tt as ReplayBranch, u as reseedFromRegistry, ui as TokenUsage, un as VerdictOutcome, ur as ExperimentPage, ut as ReplayItem, v as BitfabFunction, vi as NO_MOCK_OVERRIDE, vn as AssertionEvidenceParameter, vr as ExperimentSummaryFacts, vt as reportReplayProgress, w as NodeOptions, wi as DbSnapshotProvider, wn as AssertionLabelEvidence, wr as AddDatasetGradersResult, wt as OrganizationMember, x as CurrentTrace, xi as BitfabError, xn as AssertionGenerationStatus, xr as ExperimentTotals, xt as ReplayInterruptSignal, y as CaptureWhen, yi as NodeMatcher, yn as AssertionGeneration, yr as ExperimentSummaryResult, yt as serializeReplayResult, z as getCurrentSpan, zi as JustificationSpan, zn as ScenarioActualOutcome, zr as RerunGradersOptions, zt as GraderVerdictOutcome } from "./index-D0DWK_zQ.cjs";
2
+ export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionCode, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionKind, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type PiIntegrationOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type 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 RivetEffectType, $n as TraceSearchParams, $r as CategorySummary, $t as LabelSource, A as SpanMethodDecoratorContext, Ai as BamlExecutionResult, An as SaveScenarioActualOutcome, Ar as GraderRerunProgress, At as LangGraphIntegrationOptions, B as getCurrentTrace, Bn as ScenarioDataOrigin, Br as SaveDatasetResult, Bt as GraderVerdictSource, C as NodeMethodDecorator, Ci as DbSnapshotRef, Cn as AssertionRewrite, Cr as AddDatasetTracesResult, Ct as PiIntegrationOptions, D as SeedCaseOptions, Di as SelectiveReplayOptions, Dn as SaveAssertion, Dr as DatasetsClient, Dt as BitfabAgentMiddleware, E as ReseedResult, Ei as SelectiveReplayDecision, En as GenerateAssertionsOptions, Er as DatasetTraceIds, Et as BitfabOpenAIAgentHandler, F as WrapOpenAIResponsesOptions, Fi as Assignee, Fn as Scenario, Fr as RemoveDatasetGradersResult, Ft as GraderLabelOutcome, G as TracingProcessor, Gn as ScenarioRecordInput, Gr as VercelGenerateResult, Gt as AssertionVerdict, H as ActiveSpanContext, Hn as ScenarioGeneration, Hr as BitfabLanguageModelMiddleware, Ht as GradersClient, I as WrapOpenRouterOptions, Ii as Justification, In as ScenarioAction, Ir as RemoveDatasetTracesResult, It as GraderLabelSource, J as SpanListParams, Jn as TraceAssertion, Jr as AssertionCategoriesClient, Jt as HumanVerdictOutcome, K as ListedSpan, Kn as ScenarioSource, Kr as VercelStreamResult, Kt as HumanLabelOutcome, L as WrappedBamlFn, Li as JustificationSpan, Ln as ScenarioActualOutcome, Lr as RerunGradersOptions, Lt as GraderLabelUpdate, M as WrapAnthropicOptions, Mi as ApprovalFields, Mn as SaveScenarioHistoryEntry, Mr as GraderRerunStatus, Mt as GetGraderLabelsParams, N as WrapBAMLOptions, Ni as ApprovalState, Nn as SaveScenarioParams, Nr as GraderRerunTimeoutError, Nt as GetGraderVerdictsParams, O as SeedRunOptions, Oi as SelectiveReplayReport, On as SaveAssertionsAllParams, Or as GraderRerun, Ot as BitfabLangGraphAgent, P as WrapJevOptions, Pi as Approver, Pn as SavedTraceAssertion, Pr as ListDatasetsParams, Pt as GraderLabel, Q as RivetContextLike, Qn as TraceSearchFilters, Qr as Category, Qt as LabelOutcome, R as getCurrentReplayBranch, Rn as ScenarioData, Rr as RerunGradersResult, Rt as GraderVerdict, S as DetachedTrace, Si as DbSnapshotProvider, Sn as AssertionLabelEvidence, Sr as AddDatasetGradersResult, St as BitfabPiIntegration, T as ReseedOptions, Ti as ReplayNodeIdentity, Tn as AssertionVerdictEvidence, Tr as DatasetGraderRef, Tt as OrganizationMembersClient, U as BitfabOpenAITracingProcessor, Un as ScenarioHistoryEntry, Ur as BitfabVercelAiHandler, Ut as ArchiveLabelTarget, V as CaptureSurface, Vn as ScenarioDataSources, Vr as UpdateDatasetParams, Vt as GraderVerdictUpdate, W as TraceResponse, Wn as ScenarioRecord, Wr as VercelCallParams, Wt as ArchiveVerdictTarget, X as SpansClient, Xn as TraceAssertionsResult, Xr as AssertionCategorySummary, Xt as LabelAction, Y as SpanListResult, Yn as TraceAssertionSource, Yr as AssertionCategory, Yt as HumanVerdictUpdate, Z as BitfabRivetIntegration, Zn as TraceAssertionsUpdate, Zr as CategoriesClient, Zt as LabelConfidence, _ as BitfabConfig, _i as NodeMatcher, _n as AssertionEvidenceParameter, _r as ExperimentSummaryResult, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as SpanLookup, an as TraceLabels, ar as ExperimentCategoryTally, at as DbBranchOptions, b as CurrentSpan, bi as MixedTracingError, bn as AssertionGenerationStatus, br as ExperimentsClient, bt as ReplayInterrupt, c as SeedResult, ci as TokenUsage, cn as VerdictAction, cr as ExperimentPage, ct as ReplayError, d as seedFromRegistry, di as MockOverride, dn as VerdictSource, dr as ExperimentRunBy, dt as ReplayItemFinishProgress, ei as SaveAssertionCategoryParams, en as LabelStatus, er as TraceSearchResult, et as RivetIntegrationOptions, f as finalizers, fi as MockOverrideCtx, fn as VerdictStatus, fr as ExperimentStatus, ft as ReplayItemStartProgress, g as Bitfab, gi as NO_MOCK_OVERRIDE, gn as ArchiveAssertionsParams, gr as ExperimentSummaryFacts, gt as ReplayResult, h as CommitRef, hi as MockValue, hn as VerdictsClient, hr as ExperimentSummaryExampleTrace, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as HttpClient, in as PassFailVerdict, ir as Experiment, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, ji as ProviderDefinition, jn as SaveScenarioData, jr as GraderRerunResult, jt as BitfabLangGraphCallbackHandler, k as SpanMethodDecorator, ki as AllowedEnvVars, kn as SaveAssertionsParams, kr as GraderRerunError, kt as BitfabLangGraphIntegration, l as defineReplayRegistry, li as flushTraces, ln as VerdictConfidence, lr as ExperimentRollup, lt as ReplayExperiment, m as __version__, mi as MockOverrideResolver, mn as VerdictUpdate, mr as ExperimentSummaryBeforeAfter, mt as ReplayProgress, n as ReplayRegistration, ni as CapturedSpan, nn as LabelUpdate, nr as TraceTargetOccurrence, nt as AdaptContext, o as ReseedRegistryResult, oi as SpanOccurrence, on as TraceVerdicts, or as ExperimentCodeChangeTotals, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as MockOverrideInput, pn as VerdictTarget, pr as ExperimentSummary, pt as ReplayOptions, q as SpanListField, qn as ScenarioTrigger, qr as BitfabClaudeAgentHandler, qt as HumanLabelUpdate, r as ReplayRegistry, ri as CodeChangeFile, rn as LabelsClient, rr as TracesClient, rt as AdaptInputsFn, s as SeedCase, si as SpanType, sn as Verdict, sr as ExperimentJitter, st as MockStrategy, t as ReplayOptionsFactory, ti as SaveCategoryParams, tn as LabelTarget, tr as TraceTarget, tt as ReplayBranch, u as reseedFromRegistry, ui as DbBranchTimings, un as VerdictOutcome, ur as ExperimentRollupResult, ut as ReplayItem, v as BitfabFunction, vi as SpanNodeMeta, vn as AssertionGeneration, vr as ExperimentTally, vt as reportReplayProgress, w as NodeOptions, wi as SUPPORTED_PROVIDERS, wn as AssertionRewriteStatus, wr as Dataset, wt as OrganizationMember, x as CurrentTrace, xi as DbSnapshotConfig, xn as AssertionGenerationTimeoutError, xr as ListExperimentsParams, xt as ReplayInterruptSignal, y as CaptureWhen, yi as BitfabError, yn as AssertionGenerationError, yr as ExperimentTotals, yt as serializeReplayResult, z as getCurrentSpan, zn as ScenarioDataAppend, zr as SaveDatasetParams, zt as GraderVerdictOutcome } from "./index-Dioj_VO0.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, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type PiIntegrationOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type 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 };
1
+ import { $ as RivetEffectType, $n as TraceAssertionsUpdate, $r as CategoriesClient, $t as LabelSource, A as SpanMethodDecoratorContext, Ai as SelectiveReplayReport, An as SaveAssertionsAllParams, Ar as GraderRerun, At as LangGraphIntegrationOptions, B as getCurrentTrace, Bn as ScenarioData, Br as RerunGradersResult, Bt as GraderVerdictSource, C as NodeMethodDecorator, Ci as DbSnapshotConfig, Cn as AssertionKind, Cr as ListExperimentsParams, Ct as PiIntegrationOptions, D as SeedCaseOptions, Di as ReplayNodeIdentity, Dn as AssertionVerdictEvidence, Dr as DatasetGraderRef, Dt as BitfabAgentMiddleware, E as ReseedResult, Ei as SUPPORTED_PROVIDERS, En as AssertionRewriteStatus, Er as Dataset, Et as BitfabOpenAIAgentHandler, F as WrapOpenAIResponsesOptions, Fi as ApprovalState, Fn as SaveScenarioParams, Fr as GraderRerunTimeoutError, Ft as GraderLabelOutcome, G as TracingProcessor, Gn as ScenarioHistoryEntry, Gr as BitfabVercelAiHandler, Gt as AssertionVerdict, H as ActiveSpanContext, Hn as ScenarioDataOrigin, Hr as SaveDatasetResult, Ht as GradersClient, I as WrapOpenRouterOptions, Ii as Approver, In as SavedTraceAssertion, Ir as ListDatasetsParams, It as GraderLabelSource, J as SpanListParams, Jn as ScenarioSource, Jr as VercelStreamResult, Jt as HumanVerdictOutcome, K as ListedSpan, Kn as ScenarioRecord, Kr as VercelCallParams, Kt as HumanLabelOutcome, L as WrappedBamlFn, Li as Assignee, Ln as Scenario, Lr as RemoveDatasetGradersResult, Lt as GraderLabelUpdate, M as WrapAnthropicOptions, Mi as BamlExecutionResult, Mn as SaveScenarioActualOutcome, Mr as GraderRerunProgress, Mt as GetGraderLabelsParams, N as WrapBAMLOptions, Ni as ProviderDefinition, Nn as SaveScenarioData, Nr as GraderRerunResult, Nt as GetGraderVerdictsParams, O as SeedRunOptions, Oi as SelectiveReplayDecision, On as GenerateAssertionsOptions, Or as DatasetTraceIds, Ot as BitfabLangGraphAgent, P as WrapJevOptions, Pi as ApprovalFields, Pn as SaveScenarioHistoryEntry, Pr as GraderRerunStatus, Pt as GraderLabel, Q as RivetContextLike, Qn as TraceAssertionsResult, Qr as AssertionCategorySummary, Qt as LabelOutcome, R as getCurrentReplayBranch, Ri as Justification, Rn as ScenarioAction, Rr as RemoveDatasetTracesResult, Rt as GraderVerdict, S as DetachedTrace, Si as MixedTracingError, Sn as AssertionGenerationTimeoutError, Sr as ExperimentsClient, St as BitfabPiIntegration, T as ReseedOptions, Ti as DbSnapshotRef, Tn as AssertionRewrite, Tr as AddDatasetTracesResult, Tt as OrganizationMembersClient, U as BitfabOpenAITracingProcessor, Un as ScenarioDataSources, Ur as UpdateDatasetParams, Ut as ArchiveLabelTarget, V as CaptureSurface, Vn as ScenarioDataAppend, Vr as SaveDatasetParams, Vt as GraderVerdictUpdate, W as TraceResponse, Wn as ScenarioGeneration, Wr as BitfabLanguageModelMiddleware, Wt as ArchiveVerdictTarget, X as SpansClient, Xn as TraceAssertion, Xr as AssertionCategoriesClient, Xt as LabelAction, Y as SpanListResult, Yn as ScenarioTrigger, Yr as BitfabClaudeAgentHandler, Yt as HumanVerdictUpdate, Z as BitfabRivetIntegration, Zn as TraceAssertionSource, Zr as AssertionCategory, Zt as LabelConfidence, _ as BitfabConfig, _i as MockValue, _n as AssertionCode, _r as ExperimentSummaryExampleTrace, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as CodeChangeFile, an as TraceLabels, ar as TracesClient, at as DbBranchOptions, b as CurrentSpan, bi as SpanNodeMeta, bn as AssertionGenerationError, br as ExperimentTally, bt as ReplayInterrupt, c as SeedResult, ci as SpanOccurrence, cn as VerdictAction, cr as ExperimentCodeChangeTotals, ct as ReplayError, d as seedFromRegistry, di as flushTraces, dn as VerdictSource, dr as ExperimentRollup, dt as ReplayItemFinishProgress, ei as Category, en as LabelStatus, er as TraceSearchFilters, et as RivetIntegrationOptions, f as finalizers, fi as DbBranchTimings, fn as VerdictStatus, fr as ExperimentRollupResult, ft as ReplayItemStartProgress, g as Bitfab, gi as MockOverrideResolver, gn as ArchiveAssertionsParams, gr as ExperimentSummaryBeforeAfter, gt as ReplayResult, h as CommitRef, hi as MockOverrideInput, hn as VerdictsClient, hr as ExperimentSummary, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as CapturedSpan, in as PassFailVerdict, ir as TraceTargetOccurrence, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, ji as AllowedEnvVars, jn as SaveAssertionsParams, jr as GraderRerunError, jt as BitfabLangGraphCallbackHandler, k as SpanMethodDecorator, ki as SelectiveReplayOptions, kn as SaveAssertion, kr as DatasetsClient, kt as BitfabLangGraphIntegration, l as defineReplayRegistry, li as SpanType, ln as VerdictConfidence, lr as ExperimentJitter, lt as ReplayExperiment, m as __version__, mi as MockOverrideCtx, mn as VerdictUpdate, mr as ExperimentStatus, mt as ReplayProgress, n as ReplayRegistration, ni as SaveAssertionCategoryParams, nn as LabelUpdate, nr as TraceSearchResult, nt as AdaptContext, o as ReseedRegistryResult, oi as HttpClient, on as TraceVerdicts, or as Experiment, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as MockOverride, pn as VerdictTarget, pr as ExperimentRunBy, pt as ReplayOptions, q as SpanListField, qn as ScenarioRecordInput, qr as VercelGenerateResult, qt as HumanLabelUpdate, r as ReplayRegistry, ri as SaveCategoryParams, rn as LabelsClient, rr as TraceTarget, rt as AdaptInputsFn, s as SeedCase, si as SpanLookup, sn as Verdict, sr as ExperimentCategoryTally, st as MockStrategy, t as ReplayOptionsFactory, ti as CategorySummary, tn as LabelTarget, tr as TraceSearchParams, tt as ReplayBranch, u as reseedFromRegistry, ui as TokenUsage, un as VerdictOutcome, ur as ExperimentPage, ut as ReplayItem, v as BitfabFunction, vi as NO_MOCK_OVERRIDE, vn as AssertionEvidenceParameter, vr as ExperimentSummaryFacts, vt as reportReplayProgress, w as NodeOptions, wi as DbSnapshotProvider, wn as AssertionLabelEvidence, wr as AddDatasetGradersResult, wt as OrganizationMember, x as CurrentTrace, xi as BitfabError, xn as AssertionGenerationStatus, xr as ExperimentTotals, xt as ReplayInterruptSignal, y as CaptureWhen, yi as NodeMatcher, yn as AssertionGeneration, yr as ExperimentSummaryResult, yt as serializeReplayResult, z as getCurrentSpan, zi as JustificationSpan, zn as ScenarioActualOutcome, zr as RerunGradersOptions, zt as GraderVerdictOutcome } from "./index-D0DWK_zQ.js";
2
+ export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionCode, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionKind, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type PiIntegrationOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type 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
@@ -1,3 +1,3 @@
1
- import { A as VerdictsClient, C as OrganizationMembersClient, D as BitfabLangGraphCallbackHandler, E as BitfabLangGraphIntegration, F as GraderRerunTimeoutError, I as BitfabClaudeAgentHandler, L as DEFAULT_SERVICE_URL, M as SUPPORTED_PROVIDERS, N as DatasetsClient, O as GradersClient, P as GraderRerunError, R as AssertionCategoriesClient, S as BitfabPiIntegration, T as NO_MOCK_OVERRIDE, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as ExperimentsClient, k as LabelsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as BitfabOpenAIAgentHandler, x as serializeReplayResult, y as ReplayError, z as CategoriesClient } from "./src-BszICqKf.js";
2
- import { C as BitfabError, E as __version__, i as flushTraces, t as HttpClient, w as MixedTracingError } from "./http-BmX6_1w0.js";
1
+ import { A as VerdictsClient, C as OrganizationMembersClient, D as BitfabLangGraphCallbackHandler, E as BitfabLangGraphIntegration, F as GraderRerunTimeoutError, I as BitfabClaudeAgentHandler, L as DEFAULT_SERVICE_URL, M as SUPPORTED_PROVIDERS, N as DatasetsClient, O as GradersClient, P as GraderRerunError, R as AssertionCategoriesClient, S as BitfabPiIntegration, T as NO_MOCK_OVERRIDE, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as ExperimentsClient, k as LabelsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as BitfabOpenAIAgentHandler, x as serializeReplayResult, y as ReplayError, z as CategoriesClient } from "./src-W7yHj-0G.js";
2
+ import { C as BitfabError, E as __version__, i as flushTraces, t as HttpClient, w as MixedTracingError } from "./http-CNumy9Z2.js";
3
3
  export { AssertionCategoriesClient, AssertionGenerationError, AssertionGenerationTimeoutError, BITFAB_PROGRESS_PREFIX, Bitfab, BitfabClaudeAgentHandler, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabPiIntegration, 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
@@ -2,8 +2,8 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_src = require("./src-mBkY21Zg.cjs");
6
- const require_http = require("./http-DAoujTzS.cjs");
5
+ const require_src = require("./src-C-veJzA9.cjs");
6
+ const require_http = require("./http-DUY2I-aR.cjs");
7
7
  const require_autoTrace = require("./autoTrace-DPWV1Xzr.cjs");
8
8
  let async_hooks = require("async_hooks");
9
9
  //#region src/asyncStorageNode.ts
package/dist/node.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as RivetEffectType, $n as TraceSearchParams, $r as CategorySummary, $t as LabelSource, A as SpanMethodDecoratorContext, Ai as BamlExecutionResult, An as SaveScenarioActualOutcome, Ar as GraderRerunProgress, At as LangGraphIntegrationOptions, B as getCurrentTrace, Bn as ScenarioDataOrigin, Br as SaveDatasetResult, Bt as GraderVerdictSource, C as NodeMethodDecorator, Ci as DbSnapshotRef, Cn as AssertionRewrite, Cr as AddDatasetTracesResult, Ct as PiIntegrationOptions, D as SeedCaseOptions, Di as SelectiveReplayOptions, Dn as SaveAssertion, Dr as DatasetsClient, Dt as BitfabAgentMiddleware, E as ReseedResult, Ei as SelectiveReplayDecision, En as GenerateAssertionsOptions, Er as DatasetTraceIds, Et as BitfabOpenAIAgentHandler, F as WrapOpenAIResponsesOptions, Fi as Assignee, Fn as Scenario, Fr as RemoveDatasetGradersResult, Ft as GraderLabelOutcome, G as TracingProcessor, Gn as ScenarioRecordInput, Gr as VercelGenerateResult, Gt as AssertionVerdict, H as ActiveSpanContext, Hn as ScenarioGeneration, Hr as BitfabLanguageModelMiddleware, Ht as GradersClient, I as WrapOpenRouterOptions, Ii as Justification, In as ScenarioAction, Ir as RemoveDatasetTracesResult, It as GraderLabelSource, J as SpanListParams, Jn as TraceAssertion, Jr as AssertionCategoriesClient, Jt as HumanVerdictOutcome, K as ListedSpan, Kn as ScenarioSource, Kr as VercelStreamResult, Kt as HumanLabelOutcome, L as WrappedBamlFn, Li as JustificationSpan, Ln as ScenarioActualOutcome, Lr as RerunGradersOptions, Lt as GraderLabelUpdate, M as WrapAnthropicOptions, Mi as ApprovalFields, Mn as SaveScenarioHistoryEntry, Mr as GraderRerunStatus, Mt as GetGraderLabelsParams, N as WrapBAMLOptions, Ni as ApprovalState, Nn as SaveScenarioParams, Nr as GraderRerunTimeoutError, Nt as GetGraderVerdictsParams, O as SeedRunOptions, Oi as SelectiveReplayReport, On as SaveAssertionsAllParams, Or as GraderRerun, Ot as BitfabLangGraphAgent, P as WrapJevOptions, Pi as Approver, Pn as SavedTraceAssertion, Pr as ListDatasetsParams, Pt as GraderLabel, Q as RivetContextLike, Qn as TraceSearchFilters, Qr as Category, Qt as LabelOutcome, R as getCurrentReplayBranch, Rn as ScenarioData, Rr as RerunGradersResult, Rt as GraderVerdict, S as DetachedTrace, Si as DbSnapshotProvider, Sn as AssertionLabelEvidence, Sr as AddDatasetGradersResult, St as BitfabPiIntegration, T as ReseedOptions, Ti as ReplayNodeIdentity, Tn as AssertionVerdictEvidence, Tr as DatasetGraderRef, Tt as OrganizationMembersClient, U as BitfabOpenAITracingProcessor, Un as ScenarioHistoryEntry, Ur as BitfabVercelAiHandler, Ut as ArchiveLabelTarget, V as CaptureSurface, Vn as ScenarioDataSources, Vr as UpdateDatasetParams, Vt as GraderVerdictUpdate, W as TraceResponse, Wn as ScenarioRecord, Wr as VercelCallParams, Wt as ArchiveVerdictTarget, X as SpansClient, Xn as TraceAssertionsResult, Xr as AssertionCategorySummary, Xt as LabelAction, Y as SpanListResult, Yn as TraceAssertionSource, Yr as AssertionCategory, Yt as HumanVerdictUpdate, Z as BitfabRivetIntegration, Zn as TraceAssertionsUpdate, Zr as CategoriesClient, Zt as LabelConfidence, _ as BitfabConfig, _i as NodeMatcher, _n as AssertionEvidenceParameter, _r as ExperimentSummaryResult, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as SpanLookup, an as TraceLabels, ar as ExperimentCategoryTally, at as DbBranchOptions, b as CurrentSpan, bi as MixedTracingError, bn as AssertionGenerationStatus, br as ExperimentsClient, bt as ReplayInterrupt, c as SeedResult, ci as TokenUsage, cn as VerdictAction, cr as ExperimentPage, ct as ReplayError, d as seedFromRegistry, di as MockOverride, dn as VerdictSource, dr as ExperimentRunBy, dt as ReplayItemFinishProgress, ei as SaveAssertionCategoryParams, en as LabelStatus, er as TraceSearchResult, et as RivetIntegrationOptions, f as finalizers, fi as MockOverrideCtx, fn as VerdictStatus, fr as ExperimentStatus, ft as ReplayItemStartProgress, g as Bitfab, gi as NO_MOCK_OVERRIDE, gn as ArchiveAssertionsParams, gr as ExperimentSummaryFacts, gt as ReplayResult, h as CommitRef, hi as MockValue, hn as VerdictsClient, hr as ExperimentSummaryExampleTrace, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as HttpClient, in as PassFailVerdict, ir as Experiment, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, ji as ProviderDefinition, jn as SaveScenarioData, jr as GraderRerunResult, jt as BitfabLangGraphCallbackHandler, k as SpanMethodDecorator, ki as AllowedEnvVars, kn as SaveAssertionsParams, kr as GraderRerunError, kt as BitfabLangGraphIntegration, l as defineReplayRegistry, li as flushTraces, ln as VerdictConfidence, lr as ExperimentRollup, lt as ReplayExperiment, m as __version__, mi as MockOverrideResolver, mn as VerdictUpdate, mr as ExperimentSummaryBeforeAfter, mt as ReplayProgress, n as ReplayRegistration, ni as CapturedSpan, nn as LabelUpdate, nr as TraceTargetOccurrence, nt as AdaptContext, o as ReseedRegistryResult, oi as SpanOccurrence, on as TraceVerdicts, or as ExperimentCodeChangeTotals, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as MockOverrideInput, pn as VerdictTarget, pr as ExperimentSummary, pt as ReplayOptions, q as SpanListField, qn as ScenarioTrigger, qr as BitfabClaudeAgentHandler, qt as HumanLabelUpdate, r as ReplayRegistry, ri as CodeChangeFile, rn as LabelsClient, rr as TracesClient, rt as AdaptInputsFn, s as SeedCase, si as SpanType, sn as Verdict, sr as ExperimentJitter, st as MockStrategy, t as ReplayOptionsFactory, ti as SaveCategoryParams, tn as LabelTarget, tr as TraceTarget, tt as ReplayBranch, u as reseedFromRegistry, ui as DbBranchTimings, un as VerdictOutcome, ur as ExperimentRollupResult, ut as ReplayItem, v as BitfabFunction, vi as SpanNodeMeta, vn as AssertionGeneration, vr as ExperimentTally, vt as reportReplayProgress, w as NodeOptions, wi as SUPPORTED_PROVIDERS, wn as AssertionRewriteStatus, wr as Dataset, wt as OrganizationMember, x as CurrentTrace, xi as DbSnapshotConfig, xn as AssertionGenerationTimeoutError, xr as ListExperimentsParams, xt as ReplayInterruptSignal, y as CaptureWhen, yi as BitfabError, yn as AssertionGenerationError, yr as ExperimentTotals, yt as serializeReplayResult, z as getCurrentSpan, zn as ScenarioDataAppend, zr as SaveDatasetParams, zt as GraderVerdictOutcome } from "./index-Dioj_VO0.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, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type PiIntegrationOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type 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 };
1
+ import { $ as RivetEffectType, $n as TraceAssertionsUpdate, $r as CategoriesClient, $t as LabelSource, A as SpanMethodDecoratorContext, Ai as SelectiveReplayReport, An as SaveAssertionsAllParams, Ar as GraderRerun, At as LangGraphIntegrationOptions, B as getCurrentTrace, Bn as ScenarioData, Br as RerunGradersResult, Bt as GraderVerdictSource, C as NodeMethodDecorator, Ci as DbSnapshotConfig, Cn as AssertionKind, Cr as ListExperimentsParams, Ct as PiIntegrationOptions, D as SeedCaseOptions, Di as ReplayNodeIdentity, Dn as AssertionVerdictEvidence, Dr as DatasetGraderRef, Dt as BitfabAgentMiddleware, E as ReseedResult, Ei as SUPPORTED_PROVIDERS, En as AssertionRewriteStatus, Er as Dataset, Et as BitfabOpenAIAgentHandler, F as WrapOpenAIResponsesOptions, Fi as ApprovalState, Fn as SaveScenarioParams, Fr as GraderRerunTimeoutError, Ft as GraderLabelOutcome, G as TracingProcessor, Gn as ScenarioHistoryEntry, Gr as BitfabVercelAiHandler, Gt as AssertionVerdict, H as ActiveSpanContext, Hn as ScenarioDataOrigin, Hr as SaveDatasetResult, Ht as GradersClient, I as WrapOpenRouterOptions, Ii as Approver, In as SavedTraceAssertion, Ir as ListDatasetsParams, It as GraderLabelSource, J as SpanListParams, Jn as ScenarioSource, Jr as VercelStreamResult, Jt as HumanVerdictOutcome, K as ListedSpan, Kn as ScenarioRecord, Kr as VercelCallParams, Kt as HumanLabelOutcome, L as WrappedBamlFn, Li as Assignee, Ln as Scenario, Lr as RemoveDatasetGradersResult, Lt as GraderLabelUpdate, M as WrapAnthropicOptions, Mi as BamlExecutionResult, Mn as SaveScenarioActualOutcome, Mr as GraderRerunProgress, Mt as GetGraderLabelsParams, N as WrapBAMLOptions, Ni as ProviderDefinition, Nn as SaveScenarioData, Nr as GraderRerunResult, Nt as GetGraderVerdictsParams, O as SeedRunOptions, Oi as SelectiveReplayDecision, On as GenerateAssertionsOptions, Or as DatasetTraceIds, Ot as BitfabLangGraphAgent, P as WrapJevOptions, Pi as ApprovalFields, Pn as SaveScenarioHistoryEntry, Pr as GraderRerunStatus, Pt as GraderLabel, Q as RivetContextLike, Qn as TraceAssertionsResult, Qr as AssertionCategorySummary, Qt as LabelOutcome, R as getCurrentReplayBranch, Ri as Justification, Rn as ScenarioAction, Rr as RemoveDatasetTracesResult, Rt as GraderVerdict, S as DetachedTrace, Si as MixedTracingError, Sn as AssertionGenerationTimeoutError, Sr as ExperimentsClient, St as BitfabPiIntegration, T as ReseedOptions, Ti as DbSnapshotRef, Tn as AssertionRewrite, Tr as AddDatasetTracesResult, Tt as OrganizationMembersClient, U as BitfabOpenAITracingProcessor, Un as ScenarioDataSources, Ur as UpdateDatasetParams, Ut as ArchiveLabelTarget, V as CaptureSurface, Vn as ScenarioDataAppend, Vr as SaveDatasetParams, Vt as GraderVerdictUpdate, W as TraceResponse, Wn as ScenarioGeneration, Wr as BitfabLanguageModelMiddleware, Wt as ArchiveVerdictTarget, X as SpansClient, Xn as TraceAssertion, Xr as AssertionCategoriesClient, Xt as LabelAction, Y as SpanListResult, Yn as ScenarioTrigger, Yr as BitfabClaudeAgentHandler, Yt as HumanVerdictUpdate, Z as BitfabRivetIntegration, Zn as TraceAssertionSource, Zr as AssertionCategory, Zt as LabelConfidence, _ as BitfabConfig, _i as MockValue, _n as AssertionCode, _r as ExperimentSummaryExampleTrace, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as CodeChangeFile, an as TraceLabels, ar as TracesClient, at as DbBranchOptions, b as CurrentSpan, bi as SpanNodeMeta, bn as AssertionGenerationError, br as ExperimentTally, bt as ReplayInterrupt, c as SeedResult, ci as SpanOccurrence, cn as VerdictAction, cr as ExperimentCodeChangeTotals, ct as ReplayError, d as seedFromRegistry, di as flushTraces, dn as VerdictSource, dr as ExperimentRollup, dt as ReplayItemFinishProgress, ei as Category, en as LabelStatus, er as TraceSearchFilters, et as RivetIntegrationOptions, f as finalizers, fi as DbBranchTimings, fn as VerdictStatus, fr as ExperimentRollupResult, ft as ReplayItemStartProgress, g as Bitfab, gi as MockOverrideResolver, gn as ArchiveAssertionsParams, gr as ExperimentSummaryBeforeAfter, gt as ReplayResult, h as CommitRef, hi as MockOverrideInput, hn as VerdictsClient, hr as ExperimentSummary, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as CapturedSpan, in as PassFailVerdict, ir as TraceTargetOccurrence, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, ji as AllowedEnvVars, jn as SaveAssertionsParams, jr as GraderRerunError, jt as BitfabLangGraphCallbackHandler, k as SpanMethodDecorator, ki as SelectiveReplayOptions, kn as SaveAssertion, kr as DatasetsClient, kt as BitfabLangGraphIntegration, l as defineReplayRegistry, li as SpanType, ln as VerdictConfidence, lr as ExperimentJitter, lt as ReplayExperiment, m as __version__, mi as MockOverrideCtx, mn as VerdictUpdate, mr as ExperimentStatus, mt as ReplayProgress, n as ReplayRegistration, ni as SaveAssertionCategoryParams, nn as LabelUpdate, nr as TraceSearchResult, nt as AdaptContext, o as ReseedRegistryResult, oi as HttpClient, on as TraceVerdicts, or as Experiment, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as MockOverride, pn as VerdictTarget, pr as ExperimentRunBy, pt as ReplayOptions, q as SpanListField, qn as ScenarioRecordInput, qr as VercelGenerateResult, qt as HumanLabelUpdate, r as ReplayRegistry, ri as SaveCategoryParams, rn as LabelsClient, rr as TraceTarget, rt as AdaptInputsFn, s as SeedCase, si as SpanLookup, sn as Verdict, sr as ExperimentCategoryTally, st as MockStrategy, t as ReplayOptionsFactory, ti as CategorySummary, tn as LabelTarget, tr as TraceSearchParams, tt as ReplayBranch, u as reseedFromRegistry, ui as TokenUsage, un as VerdictOutcome, ur as ExperimentPage, ut as ReplayItem, v as BitfabFunction, vi as NO_MOCK_OVERRIDE, vn as AssertionEvidenceParameter, vr as ExperimentSummaryFacts, vt as reportReplayProgress, w as NodeOptions, wi as DbSnapshotProvider, wn as AssertionLabelEvidence, wr as AddDatasetGradersResult, wt as OrganizationMember, x as CurrentTrace, xi as BitfabError, xn as AssertionGenerationStatus, xr as ExperimentTotals, xt as ReplayInterruptSignal, y as CaptureWhen, yi as NodeMatcher, yn as AssertionGeneration, yr as ExperimentSummaryResult, yt as serializeReplayResult, z as getCurrentSpan, zi as JustificationSpan, zn as ScenarioActualOutcome, zr as RerunGradersOptions, zt as GraderVerdictOutcome } from "./index-D0DWK_zQ.cjs";
2
+ export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionCode, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionKind, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type PiIntegrationOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type 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 RivetEffectType, $n as TraceSearchParams, $r as CategorySummary, $t as LabelSource, A as SpanMethodDecoratorContext, Ai as BamlExecutionResult, An as SaveScenarioActualOutcome, Ar as GraderRerunProgress, At as LangGraphIntegrationOptions, B as getCurrentTrace, Bn as ScenarioDataOrigin, Br as SaveDatasetResult, Bt as GraderVerdictSource, C as NodeMethodDecorator, Ci as DbSnapshotRef, Cn as AssertionRewrite, Cr as AddDatasetTracesResult, Ct as PiIntegrationOptions, D as SeedCaseOptions, Di as SelectiveReplayOptions, Dn as SaveAssertion, Dr as DatasetsClient, Dt as BitfabAgentMiddleware, E as ReseedResult, Ei as SelectiveReplayDecision, En as GenerateAssertionsOptions, Er as DatasetTraceIds, Et as BitfabOpenAIAgentHandler, F as WrapOpenAIResponsesOptions, Fi as Assignee, Fn as Scenario, Fr as RemoveDatasetGradersResult, Ft as GraderLabelOutcome, G as TracingProcessor, Gn as ScenarioRecordInput, Gr as VercelGenerateResult, Gt as AssertionVerdict, H as ActiveSpanContext, Hn as ScenarioGeneration, Hr as BitfabLanguageModelMiddleware, Ht as GradersClient, I as WrapOpenRouterOptions, Ii as Justification, In as ScenarioAction, Ir as RemoveDatasetTracesResult, It as GraderLabelSource, J as SpanListParams, Jn as TraceAssertion, Jr as AssertionCategoriesClient, Jt as HumanVerdictOutcome, K as ListedSpan, Kn as ScenarioSource, Kr as VercelStreamResult, Kt as HumanLabelOutcome, L as WrappedBamlFn, Li as JustificationSpan, Ln as ScenarioActualOutcome, Lr as RerunGradersOptions, Lt as GraderLabelUpdate, M as WrapAnthropicOptions, Mi as ApprovalFields, Mn as SaveScenarioHistoryEntry, Mr as GraderRerunStatus, Mt as GetGraderLabelsParams, N as WrapBAMLOptions, Ni as ApprovalState, Nn as SaveScenarioParams, Nr as GraderRerunTimeoutError, Nt as GetGraderVerdictsParams, O as SeedRunOptions, Oi as SelectiveReplayReport, On as SaveAssertionsAllParams, Or as GraderRerun, Ot as BitfabLangGraphAgent, P as WrapJevOptions, Pi as Approver, Pn as SavedTraceAssertion, Pr as ListDatasetsParams, Pt as GraderLabel, Q as RivetContextLike, Qn as TraceSearchFilters, Qr as Category, Qt as LabelOutcome, R as getCurrentReplayBranch, Rn as ScenarioData, Rr as RerunGradersResult, Rt as GraderVerdict, S as DetachedTrace, Si as DbSnapshotProvider, Sn as AssertionLabelEvidence, Sr as AddDatasetGradersResult, St as BitfabPiIntegration, T as ReseedOptions, Ti as ReplayNodeIdentity, Tn as AssertionVerdictEvidence, Tr as DatasetGraderRef, Tt as OrganizationMembersClient, U as BitfabOpenAITracingProcessor, Un as ScenarioHistoryEntry, Ur as BitfabVercelAiHandler, Ut as ArchiveLabelTarget, V as CaptureSurface, Vn as ScenarioDataSources, Vr as UpdateDatasetParams, Vt as GraderVerdictUpdate, W as TraceResponse, Wn as ScenarioRecord, Wr as VercelCallParams, Wt as ArchiveVerdictTarget, X as SpansClient, Xn as TraceAssertionsResult, Xr as AssertionCategorySummary, Xt as LabelAction, Y as SpanListResult, Yn as TraceAssertionSource, Yr as AssertionCategory, Yt as HumanVerdictUpdate, Z as BitfabRivetIntegration, Zn as TraceAssertionsUpdate, Zr as CategoriesClient, Zt as LabelConfidence, _ as BitfabConfig, _i as NodeMatcher, _n as AssertionEvidenceParameter, _r as ExperimentSummaryResult, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as SpanLookup, an as TraceLabels, ar as ExperimentCategoryTally, at as DbBranchOptions, b as CurrentSpan, bi as MixedTracingError, bn as AssertionGenerationStatus, br as ExperimentsClient, bt as ReplayInterrupt, c as SeedResult, ci as TokenUsage, cn as VerdictAction, cr as ExperimentPage, ct as ReplayError, d as seedFromRegistry, di as MockOverride, dn as VerdictSource, dr as ExperimentRunBy, dt as ReplayItemFinishProgress, ei as SaveAssertionCategoryParams, en as LabelStatus, er as TraceSearchResult, et as RivetIntegrationOptions, f as finalizers, fi as MockOverrideCtx, fn as VerdictStatus, fr as ExperimentStatus, ft as ReplayItemStartProgress, g as Bitfab, gi as NO_MOCK_OVERRIDE, gn as ArchiveAssertionsParams, gr as ExperimentSummaryFacts, gt as ReplayResult, h as CommitRef, hi as MockValue, hn as VerdictsClient, hr as ExperimentSummaryExampleTrace, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as HttpClient, in as PassFailVerdict, ir as Experiment, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, ji as ProviderDefinition, jn as SaveScenarioData, jr as GraderRerunResult, jt as BitfabLangGraphCallbackHandler, k as SpanMethodDecorator, ki as AllowedEnvVars, kn as SaveAssertionsParams, kr as GraderRerunError, kt as BitfabLangGraphIntegration, l as defineReplayRegistry, li as flushTraces, ln as VerdictConfidence, lr as ExperimentRollup, lt as ReplayExperiment, m as __version__, mi as MockOverrideResolver, mn as VerdictUpdate, mr as ExperimentSummaryBeforeAfter, mt as ReplayProgress, n as ReplayRegistration, ni as CapturedSpan, nn as LabelUpdate, nr as TraceTargetOccurrence, nt as AdaptContext, o as ReseedRegistryResult, oi as SpanOccurrence, on as TraceVerdicts, or as ExperimentCodeChangeTotals, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as MockOverrideInput, pn as VerdictTarget, pr as ExperimentSummary, pt as ReplayOptions, q as SpanListField, qn as ScenarioTrigger, qr as BitfabClaudeAgentHandler, qt as HumanLabelUpdate, r as ReplayRegistry, ri as CodeChangeFile, rn as LabelsClient, rr as TracesClient, rt as AdaptInputsFn, s as SeedCase, si as SpanType, sn as Verdict, sr as ExperimentJitter, st as MockStrategy, t as ReplayOptionsFactory, ti as SaveCategoryParams, tn as LabelTarget, tr as TraceTarget, tt as ReplayBranch, u as reseedFromRegistry, ui as DbBranchTimings, un as VerdictOutcome, ur as ExperimentRollupResult, ut as ReplayItem, v as BitfabFunction, vi as SpanNodeMeta, vn as AssertionGeneration, vr as ExperimentTally, vt as reportReplayProgress, w as NodeOptions, wi as SUPPORTED_PROVIDERS, wn as AssertionRewriteStatus, wr as Dataset, wt as OrganizationMember, x as CurrentTrace, xi as DbSnapshotConfig, xn as AssertionGenerationTimeoutError, xr as ListExperimentsParams, xt as ReplayInterruptSignal, y as CaptureWhen, yi as BitfabError, yn as AssertionGenerationError, yr as ExperimentTotals, yt as serializeReplayResult, z as getCurrentSpan, zn as ScenarioDataAppend, zr as SaveDatasetParams, zt as GraderVerdictOutcome } from "./index-Dioj_VO0.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, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type PiIntegrationOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type 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 };
1
+ import { $ as RivetEffectType, $n as TraceAssertionsUpdate, $r as CategoriesClient, $t as LabelSource, A as SpanMethodDecoratorContext, Ai as SelectiveReplayReport, An as SaveAssertionsAllParams, Ar as GraderRerun, At as LangGraphIntegrationOptions, B as getCurrentTrace, Bn as ScenarioData, Br as RerunGradersResult, Bt as GraderVerdictSource, C as NodeMethodDecorator, Ci as DbSnapshotConfig, Cn as AssertionKind, Cr as ListExperimentsParams, Ct as PiIntegrationOptions, D as SeedCaseOptions, Di as ReplayNodeIdentity, Dn as AssertionVerdictEvidence, Dr as DatasetGraderRef, Dt as BitfabAgentMiddleware, E as ReseedResult, Ei as SUPPORTED_PROVIDERS, En as AssertionRewriteStatus, Er as Dataset, Et as BitfabOpenAIAgentHandler, F as WrapOpenAIResponsesOptions, Fi as ApprovalState, Fn as SaveScenarioParams, Fr as GraderRerunTimeoutError, Ft as GraderLabelOutcome, G as TracingProcessor, Gn as ScenarioHistoryEntry, Gr as BitfabVercelAiHandler, Gt as AssertionVerdict, H as ActiveSpanContext, Hn as ScenarioDataOrigin, Hr as SaveDatasetResult, Ht as GradersClient, I as WrapOpenRouterOptions, Ii as Approver, In as SavedTraceAssertion, Ir as ListDatasetsParams, It as GraderLabelSource, J as SpanListParams, Jn as ScenarioSource, Jr as VercelStreamResult, Jt as HumanVerdictOutcome, K as ListedSpan, Kn as ScenarioRecord, Kr as VercelCallParams, Kt as HumanLabelOutcome, L as WrappedBamlFn, Li as Assignee, Ln as Scenario, Lr as RemoveDatasetGradersResult, Lt as GraderLabelUpdate, M as WrapAnthropicOptions, Mi as BamlExecutionResult, Mn as SaveScenarioActualOutcome, Mr as GraderRerunProgress, Mt as GetGraderLabelsParams, N as WrapBAMLOptions, Ni as ProviderDefinition, Nn as SaveScenarioData, Nr as GraderRerunResult, Nt as GetGraderVerdictsParams, O as SeedRunOptions, Oi as SelectiveReplayDecision, On as GenerateAssertionsOptions, Or as DatasetTraceIds, Ot as BitfabLangGraphAgent, P as WrapJevOptions, Pi as ApprovalFields, Pn as SaveScenarioHistoryEntry, Pr as GraderRerunStatus, Pt as GraderLabel, Q as RivetContextLike, Qn as TraceAssertionsResult, Qr as AssertionCategorySummary, Qt as LabelOutcome, R as getCurrentReplayBranch, Ri as Justification, Rn as ScenarioAction, Rr as RemoveDatasetTracesResult, Rt as GraderVerdict, S as DetachedTrace, Si as MixedTracingError, Sn as AssertionGenerationTimeoutError, Sr as ExperimentsClient, St as BitfabPiIntegration, T as ReseedOptions, Ti as DbSnapshotRef, Tn as AssertionRewrite, Tr as AddDatasetTracesResult, Tt as OrganizationMembersClient, U as BitfabOpenAITracingProcessor, Un as ScenarioDataSources, Ur as UpdateDatasetParams, Ut as ArchiveLabelTarget, V as CaptureSurface, Vn as ScenarioDataAppend, Vr as SaveDatasetParams, Vt as GraderVerdictUpdate, W as TraceResponse, Wn as ScenarioGeneration, Wr as BitfabLanguageModelMiddleware, Wt as ArchiveVerdictTarget, X as SpansClient, Xn as TraceAssertion, Xr as AssertionCategoriesClient, Xt as LabelAction, Y as SpanListResult, Yn as ScenarioTrigger, Yr as BitfabClaudeAgentHandler, Yt as HumanVerdictUpdate, Z as BitfabRivetIntegration, Zn as TraceAssertionSource, Zr as AssertionCategory, Zt as LabelConfidence, _ as BitfabConfig, _i as MockValue, _n as AssertionCode, _r as ExperimentSummaryExampleTrace, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as CodeChangeFile, an as TraceLabels, ar as TracesClient, at as DbBranchOptions, b as CurrentSpan, bi as SpanNodeMeta, bn as AssertionGenerationError, br as ExperimentTally, bt as ReplayInterrupt, c as SeedResult, ci as SpanOccurrence, cn as VerdictAction, cr as ExperimentCodeChangeTotals, ct as ReplayError, d as seedFromRegistry, di as flushTraces, dn as VerdictSource, dr as ExperimentRollup, dt as ReplayItemFinishProgress, ei as Category, en as LabelStatus, er as TraceSearchFilters, et as RivetIntegrationOptions, f as finalizers, fi as DbBranchTimings, fn as VerdictStatus, fr as ExperimentRollupResult, ft as ReplayItemStartProgress, g as Bitfab, gi as MockOverrideResolver, gn as ArchiveAssertionsParams, gr as ExperimentSummaryBeforeAfter, gt as ReplayResult, h as CommitRef, hi as MockOverrideInput, hn as VerdictsClient, hr as ExperimentSummary, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as CapturedSpan, in as PassFailVerdict, ir as TraceTargetOccurrence, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, ji as AllowedEnvVars, jn as SaveAssertionsParams, jr as GraderRerunError, jt as BitfabLangGraphCallbackHandler, k as SpanMethodDecorator, ki as SelectiveReplayOptions, kn as SaveAssertion, kr as DatasetsClient, kt as BitfabLangGraphIntegration, l as defineReplayRegistry, li as SpanType, ln as VerdictConfidence, lr as ExperimentJitter, lt as ReplayExperiment, m as __version__, mi as MockOverrideCtx, mn as VerdictUpdate, mr as ExperimentStatus, mt as ReplayProgress, n as ReplayRegistration, ni as SaveAssertionCategoryParams, nn as LabelUpdate, nr as TraceSearchResult, nt as AdaptContext, o as ReseedRegistryResult, oi as HttpClient, on as TraceVerdicts, or as Experiment, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as MockOverride, pn as VerdictTarget, pr as ExperimentRunBy, pt as ReplayOptions, q as SpanListField, qn as ScenarioRecordInput, qr as VercelGenerateResult, qt as HumanLabelUpdate, r as ReplayRegistry, ri as SaveCategoryParams, rn as LabelsClient, rr as TraceTarget, rt as AdaptInputsFn, s as SeedCase, si as SpanLookup, sn as Verdict, sr as ExperimentCategoryTally, st as MockStrategy, t as ReplayOptionsFactory, ti as CategorySummary, tn as LabelTarget, tr as TraceSearchParams, tt as ReplayBranch, u as reseedFromRegistry, ui as TokenUsage, un as VerdictOutcome, ur as ExperimentPage, ut as ReplayItem, v as BitfabFunction, vi as NO_MOCK_OVERRIDE, vn as AssertionEvidenceParameter, vr as ExperimentSummaryFacts, vt as reportReplayProgress, w as NodeOptions, wi as DbSnapshotProvider, wn as AssertionLabelEvidence, wr as AddDatasetGradersResult, wt as OrganizationMember, x as CurrentTrace, xi as BitfabError, xn as AssertionGenerationStatus, xr as ExperimentTotals, xt as ReplayInterruptSignal, y as CaptureWhen, yi as NodeMatcher, yn as AssertionGeneration, yr as ExperimentSummaryResult, yt as serializeReplayResult, z as getCurrentSpan, zi as JustificationSpan, zn as ScenarioActualOutcome, zr as RerunGradersOptions, zt as GraderVerdictOutcome } from "./index-D0DWK_zQ.js";
2
+ export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionCode, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionKind, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type PiIntegrationOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type 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
@@ -1,5 +1,5 @@
1
- import { A as VerdictsClient, C as OrganizationMembersClient, D as BitfabLangGraphCallbackHandler, E as BitfabLangGraphIntegration, F as GraderRerunTimeoutError, I as BitfabClaudeAgentHandler, L as DEFAULT_SERVICE_URL, M as SUPPORTED_PROVIDERS, N as DatasetsClient, O as GradersClient, P as GraderRerunError, R as AssertionCategoriesClient, S as BitfabPiIntegration, T as NO_MOCK_OVERRIDE, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as ExperimentsClient, k as LabelsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as BitfabOpenAIAgentHandler, x as serializeReplayResult, y as ReplayError, z as CategoriesClient } from "./src-BszICqKf.js";
2
- import { C as BitfabError, E as __version__, i as flushTraces, t as HttpClient, w as MixedTracingError } from "./http-BmX6_1w0.js";
1
+ import { A as VerdictsClient, C as OrganizationMembersClient, D as BitfabLangGraphCallbackHandler, E as BitfabLangGraphIntegration, F as GraderRerunTimeoutError, I as BitfabClaudeAgentHandler, L as DEFAULT_SERVICE_URL, M as SUPPORTED_PROVIDERS, N as DatasetsClient, O as GradersClient, P as GraderRerunError, R as AssertionCategoriesClient, S as BitfabPiIntegration, T as NO_MOCK_OVERRIDE, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as ExperimentsClient, k as LabelsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as BitfabOpenAIAgentHandler, x as serializeReplayResult, y as ReplayError, z as CategoriesClient } from "./src-W7yHj-0G.js";
2
+ import { C as BitfabError, E as __version__, i as flushTraces, t as HttpClient, w as MixedTracingError } from "./http-CNumy9Z2.js";
3
3
  import { U as registerAsyncLocalStorageClass, z as assertAsyncStorageRegistered } from "./autoTrace-kHOBg49M.js";
4
4
  import { AsyncLocalStorage } from "async_hooks";
5
5
  //#region src/asyncStorageNode.ts
@@ -1,5 +1,5 @@
1
1
  const require_bamlPeer = require("./bamlPeer-5Ohpq8q9.cjs");
2
- const require_http = require("./http-DAoujTzS.cjs");
2
+ const require_http = require("./http-DUY2I-aR.cjs");
3
3
  const require_autoTrace = require("./autoTrace-DPWV1Xzr.cjs");
4
4
  const require_optionalPeer = require("./optionalPeer-CUH756lt.cjs");
5
5
  let superjson = require("superjson");
@@ -7073,7 +7073,7 @@ var Bitfab = class {
7073
7073
  await runWithSeedContext({ traceId }, async () => target(...args));
7074
7074
  } finally {
7075
7075
  try {
7076
- const { flushTraces } = await Promise.resolve().then(() => require("./http-DAoujTzS.cjs")).then((n) => n.http_exports);
7076
+ const { flushTraces } = await Promise.resolve().then(() => require("./http-DUY2I-aR.cjs")).then((n) => n.http_exports);
7077
7077
  await flushTraces(3e4);
7078
7078
  } finally {
7079
7079
  unrecorded = activeTraceStates.delete(traceId);
@@ -7279,7 +7279,7 @@ async function seedFromRegistry(registry, pipeline, cases, options = {}) {
7279
7279
  metadata: seedCase.metadata,
7280
7280
  sessionId: seedCase.sessionId
7281
7281
  }));
7282
- const { flushTraces } = await Promise.resolve().then(() => require("./http-DAoujTzS.cjs")).then((n) => n.http_exports);
7282
+ const { flushTraces } = await Promise.resolve().then(() => require("./http-DUY2I-aR.cjs")).then((n) => n.http_exports);
7283
7283
  await flushTraces(3e4);
7284
7284
  return {
7285
7285
  pipeline,
@@ -7529,4 +7529,4 @@ Object.defineProperty(exports, "serializeReplayResult", {
7529
7529
  }
7530
7530
  });
7531
7531
 
7532
- //# sourceMappingURL=src-mBkY21Zg.cjs.map
7532
+ //# sourceMappingURL=src-C-veJzA9.cjs.map