bitfab 0.68.5 → 0.68.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1761,11 +1761,61 @@ type ScenarioHistoryEntry = {
1761
1761
  sincePrevious: string | null;
1762
1762
  source: ScenarioSource | null;
1763
1763
  };
1764
+ /**
1765
+ * One record your own systems hold that relates to the run, such as a
1766
+ * message, a memory, or an order, as sent to `saveScenario`.
1767
+ */
1768
+ type ScenarioRecordInput = {
1769
+ /** Any name for the kind of record, such as `"memory"` or `"order"`. */
1770
+ kind: string;
1771
+ /** Your own pointer to the record, such as `"Memory:812"`. */
1772
+ ref: string;
1773
+ /** When the record came to exist, as an ISO 8601 time, or null. */
1774
+ at: string | null;
1775
+ /** `"run"` when the record is as it was at the run, `"now"` when no history is kept for it. */
1776
+ asOf: "run" | "now";
1777
+ title: string;
1778
+ text: string;
1779
+ /**
1780
+ * The exact text Bitfab looks for in the run's spans, or null to look for
1781
+ * `text` instead.
1782
+ */
1783
+ quote: string | null;
1784
+ };
1785
+ /**
1786
+ * A saved record. `source` is the span Bitfab found it in, or null when it
1787
+ * shows up in none of the run's spans.
1788
+ */
1789
+ type ScenarioRecord = ScenarioRecordInput & {
1790
+ source: ScenarioSource | null;
1791
+ };
1792
+ /**
1793
+ * Where a scenario's records came from: when the run started, when its data
1794
+ * was captured, how many days each windowed kind reaches, and how fully each
1795
+ * kind of data was read.
1796
+ */
1797
+ type ScenarioDataSources = {
1798
+ frameAt: string;
1799
+ capturedAt: string | null;
1800
+ windows: Record<string, number>;
1801
+ coverage: {
1802
+ calendarExcludedCount?: number;
1803
+ filledColumns: {
1804
+ absentNullable: string[];
1805
+ defaultedNonNullable: string[];
1806
+ };
1807
+ [key: string]: unknown;
1808
+ };
1809
+ };
1764
1810
  type ScenarioData = {
1765
1811
  hasHistory: boolean;
1766
1812
  topic: string;
1767
1813
  history: ScenarioHistoryEntry[];
1768
1814
  missing: string[];
1815
+ /** The scenario's records, or absent when none have been saved. */
1816
+ records?: ScenarioRecord[];
1817
+ /** Where the records came from, or absent when not saved. */
1818
+ sources?: ScenarioDataSources;
1769
1819
  };
1770
1820
  /** One thing the run did, such as sending a message or calling a tool. */
1771
1821
  type ScenarioAction = {
@@ -1818,7 +1868,13 @@ type Scenario = {
1818
1868
  type SaveScenarioHistoryEntry = Omit<ScenarioHistoryEntry, "source"> & {
1819
1869
  source?: ScenarioSource | null;
1820
1870
  };
1821
- type SaveScenarioData = Omit<ScenarioData, "history"> & {
1871
+ /**
1872
+ * The whole data object sent to `saveScenario`. It has no records: the saved
1873
+ * records are kept, and `records` on `saveScenario` replaces them. A data
1874
+ * object read back from `getScenario` can be sent as it is, and its `records`
1875
+ * and `sources` are left out of the request.
1876
+ */
1877
+ type SaveScenarioData = Omit<ScenarioData, "history" | "records" | "sources"> & {
1822
1878
  history: SaveScenarioHistoryEntry[];
1823
1879
  };
1824
1880
  /**
@@ -1832,8 +1888,10 @@ type ScenarioDataAppend = {
1832
1888
  history?: SaveScenarioHistoryEntry[];
1833
1889
  missing?: string[];
1834
1890
  };
1835
- type SaveScenarioParams = {
1891
+ type SaveScenarioEditParams = {
1836
1892
  traceId: string;
1893
+ records?: never;
1894
+ sources?: never;
1837
1895
  name?: string;
1838
1896
  description?: string;
1839
1897
  trigger?: ScenarioTrigger;
@@ -1870,6 +1928,26 @@ type SaveScenarioParams = {
1870
1928
  } | {
1871
1929
  categoryIds: string[];
1872
1930
  });
1931
+ /**
1932
+ * Replaces the scenario's records whole. Bitfab looks for each record's
1933
+ * `quote`, or failing that its `text`, in the run's spans and saves the span
1934
+ * it shows up in. Records are saved on their own, with only `sources` beside
1935
+ * them. A non-empty list is refused while the scenario's trigger is empty.
1936
+ */
1937
+ type SaveScenarioRecordsParams = {
1938
+ traceId: string;
1939
+ records: ScenarioRecordInput[];
1940
+ /** Where the records came from. Leaving it out clears the saved sources. */
1941
+ sources?: ScenarioDataSources;
1942
+ name?: never;
1943
+ description?: never;
1944
+ trigger?: never;
1945
+ data?: never;
1946
+ appendData?: never;
1947
+ actualOutcome?: never;
1948
+ categoryIds?: never;
1949
+ };
1950
+ type SaveScenarioParams = SaveScenarioEditParams | SaveScenarioRecordsParams;
1873
1951
  type AssertionGenerationStatus = "running" | "completed" | "failed";
1874
1952
  type AssertionGeneration = {
1875
1953
  status: AssertionGenerationStatus;
@@ -4891,7 +4969,7 @@ interface CommitRef {
4891
4969
  /**
4892
4970
  * SDK version from package.json (injected at build time)
4893
4971
  */
4894
- declare const __version__ = "0.68.5";
4972
+ declare const __version__ = "0.68.6";
4895
4973
  //#endregion
4896
4974
  //#region src/constants.d.ts
4897
4975
  /**
@@ -5033,4 +5111,4 @@ declare function seedFromRegistry(registry: ReplayRegistry, pipeline: string, ca
5033
5111
  run?: boolean;
5034
5112
  }): Promise<SeedResult>;
5035
5113
  //#endregion
5036
- export { RivetEffectType as $, ExperimentCategoryTally as $n, DbBranchTimings as $r, LabelTarget as $t, SpanMethodDecoratorContext as A, SaveScenarioHistoryEntry as An, UpdateDatasetParams as Ar, GetGraderLabelsParams as At, getCurrentTrace as B, ScenarioSource as Bn, CategoriesClient as Br, GradersClient as Bt, NodeMethodDecorator as C, Approver as Ci, AssertionVerdictEvidence as Cn, ListDatasetsParams as Cr, OrganizationMembersClient as Ct, SeedCaseOptions as D, SaveAssertionsParams as Dn, RerunGradersResult as Dr, BitfabLangGraphIntegration as Dt, ReseedResult as E, JustificationSpan as Ei, SaveAssertionsAllParams as En, RerunGradersOptions as Er, BitfabLangGraphAgent as Et, WrapOpenAIResponsesOptions as F, ScenarioActualOutcome as Fn, VercelStreamResult as Fr, GraderLabelUpdate as Ft, TracingProcessor as G, TraceAssertionsUpdate as Gn, CapturedSpan as Gr, HumanLabelUpdate as Gt, ActiveSpanContext as H, TraceAssertion as Hn, CategorySummary as Hr, ArchiveVerdictTarget as Ht, WrapOpenRouterOptions as I, ScenarioData as In, BitfabClaudeAgentHandler as Ir, GraderVerdict as It, SpanListParams as J, TraceSearchResult as Jn, SpanLookup as Jr, LabelAction as Jt, ListedSpan as K, TraceSearchFilters as Kn, CodeChangeFile as Kr, HumanVerdictOutcome as Kt, WrappedBamlFn as L, ScenarioDataAppend as Ln, AssertionCategoriesClient as Lr, GraderVerdictOutcome as Lt, WrapAnthropicOptions as M, SavedTraceAssertion as Mn, BitfabVercelAiHandler as Mr, GraderLabel as Mt, WrapBAMLOptions as N, Scenario as Nn, VercelCallParams as Nr, GraderLabelOutcome as Nt, SeedRunOptions as O, SaveScenarioActualOutcome as On, SaveDatasetParams as Or, LangGraphIntegrationOptions as Ot, WrapJevOptions as P, ScenarioAction as Pn, VercelGenerateResult as Pr, GraderLabelSource as Pt, RivetContextLike as Q, Experiment as Qn, flushTraces as Qr, LabelStatus as Qt, getCurrentReplayBranch as R, ScenarioDataOrigin as Rn, AssertionCategory as Rr, GraderVerdictSource as Rt, DetachedTrace as S, ApprovalState as Si, AssertionRewriteStatus as Sn, GraderRerunTimeoutError as Sr, OrganizationMember as St, ReseedOptions as T, Justification as Ti, SaveAssertion as Tn, RemoveDatasetTracesResult as Tr, BitfabAgentMiddleware as Tt, BitfabOpenAITracingProcessor as U, TraceAssertionSource as Un, SaveAssertionCategoryParams as Ur, AssertionVerdict as Ut, CaptureSurface as V, ScenarioTrigger as Vn, Category as Vr, ArchiveLabelTarget as Vt, TraceResponse as W, TraceAssertionsResult as Wn, SaveCategoryParams as Wr, HumanLabelOutcome as Wt, SpansClient as X, TraceTargetOccurrence as Xn, SpanType as Xr, LabelOutcome as Xt, SpanListResult as Y, TraceTarget as Yn, SpanOccurrence as Yr, LabelConfidence as Yt, BitfabRivetIntegration as Z, TracesClient as Zn, TokenUsage as Zr, LabelSource as Zt, BitfabConfig as _, SelectiveReplayReport as _i, AssertionGenerationError as _n, GraderRerun as _r, TraceIngestionType as _t, ReplayRegistryOptions as a, NO_MOCK_OVERRIDE as ai, Verdict as an, ExperimentRunBy as ar, DbBranchOptions as at, CurrentSpan as b, ProviderDefinition as bi, AssertionLabelEvidence as bn, GraderRerunResult as br, ReplayInterrupt as bt, SeedResult as c, BitfabError as ci, VerdictOutcome as cn, ExperimentTotals as cr, ReplayError as ct, seedFromRegistry as d, DbSnapshotProvider as di, VerdictTarget as dn, AddDatasetGradersResult as dr, ReplayItemFinishProgress as dt, MockOverride as ei, LabelUpdate as en, ExperimentCodeChangeTotals as er, RivetIntegrationOptions as et, finalizers as f, DbSnapshotRef as fi, VerdictUpdate as fn, AddDatasetTracesResult as fr, ReplayItemStartProgress as ft, Bitfab as g, SelectiveReplayOptions as gi, AssertionGeneration as gn, DatasetsClient as gr, ReplayResult as gt, CommitRef as h, SelectiveReplayDecision as hi, AssertionEvidenceParameter as hn, DatasetTraceIds as hr, ReplayProgressItem as ht, ReplayRegistryContext as i, MockValue as ii, TraceVerdicts as in, ExperimentRollupResult as ir, BITFAB_PROGRESS_PREFIX as it, SpanOptions as j, SaveScenarioParams as jn, BitfabLanguageModelMiddleware as jr, GetGraderVerdictsParams as jt, SpanMethodDecorator as k, SaveScenarioData as kn, SaveDatasetResult as kr, BitfabLangGraphCallbackHandler as kt, defineReplayRegistry as l, MixedTracingError as li, VerdictSource as ln, ExperimentsClient as lr, ReplayExperiment as lt, __version__ as m, ReplayNodeIdentity as mi, ArchiveAssertionsParams as mn, DatasetGraderRef as mr, ReplayProgress as mt, ReplayRegistration as n, MockOverrideInput as ni, PassFailVerdict as nn, ExperimentPage as nr, AdaptContext as nt, ReseedRegistryResult as o, NodeMatcher as oi, VerdictAction as on, ExperimentStatus as or, DbBranchReplayError as ot, DEFAULT_SERVICE_URL as p, SUPPORTED_PROVIDERS as pi, VerdictsClient as pn, Dataset as pr, ReplayOptions as pt, SpanListField as q, TraceSearchParams as qn, HttpClient as qr, HumanVerdictUpdate as qt, ReplayRegistry as r, MockOverrideResolver as ri, TraceLabels as rn, ExperimentRollup as rr, AdaptInputsFn as rt, SeedCase as s, SpanNodeMeta as si, VerdictConfidence as sn, ExperimentTally as sr, MockStrategy as st, ReplayOptionsFactory as t, MockOverrideCtx as ti, LabelsClient as tn, ExperimentJitter as tr, ReplayBranch as tt, reseedFromRegistry as u, DbSnapshotConfig as ui, VerdictStatus as un, ListExperimentsParams as ur, ReplayItem as ut, BitfabFunction as v, AllowedEnvVars as vi, AssertionGenerationStatus as vn, GraderRerunError as vr, reportReplayProgress as vt, NodeOptions as w, Assignee as wi, GenerateAssertionsOptions as wn, RemoveDatasetGradersResult as wr, BitfabOpenAIAgentHandler as wt, CurrentTrace as x, ApprovalFields as xi, AssertionRewrite as xn, GraderRerunStatus as xr, ReplayInterruptSignal as xt, CaptureWhen as y, BamlExecutionResult as yi, AssertionGenerationTimeoutError as yn, GraderRerunProgress as yr, serializeReplayResult as yt, getCurrentSpan as z, ScenarioHistoryEntry as zn, AssertionCategorySummary as zr, GraderVerdictUpdate as zt };
5114
+ export { RivetEffectType as $, TraceTargetOccurrence as $n, SpanType as $r, LabelTarget as $t, SpanMethodDecoratorContext as A, SaveScenarioHistoryEntry as An, RerunGradersResult as Ar, GetGraderLabelsParams as At, getCurrentTrace as B, ScenarioHistoryEntry as Bn, AssertionCategoriesClient as Br, GradersClient as Bt, NodeMethodDecorator as C, ProviderDefinition as Ci, AssertionVerdictEvidence as Cn, GraderRerunResult as Cr, OrganizationMembersClient as Ct, SeedCaseOptions as D, Assignee as Di, SaveAssertionsParams as Dn, RemoveDatasetGradersResult as Dr, BitfabLangGraphIntegration as Dt, ReseedResult as E, Approver as Ei, SaveAssertionsAllParams as En, ListDatasetsParams as Er, BitfabLangGraphAgent as Et, WrapOpenAIResponsesOptions as F, ScenarioActualOutcome as Fn, BitfabVercelAiHandler as Fr, GraderLabelUpdate as Ft, TracingProcessor as G, TraceAssertion as Gn, CategorySummary as Gr, HumanLabelUpdate as Gt, ActiveSpanContext as H, ScenarioRecordInput as Hn, AssertionCategorySummary as Hr, ArchiveVerdictTarget as Ht, WrapOpenRouterOptions as I, ScenarioData as In, VercelCallParams as Ir, GraderVerdict as It, SpanListParams as J, TraceAssertionsUpdate as Jn, CapturedSpan as Jr, LabelAction as Jt, ListedSpan as K, TraceAssertionSource as Kn, SaveAssertionCategoryParams as Kr, HumanVerdictOutcome as Kt, WrappedBamlFn as L, ScenarioDataAppend as Ln, VercelGenerateResult as Lr, GraderVerdictOutcome as Lt, WrapAnthropicOptions as M, SavedTraceAssertion as Mn, SaveDatasetResult as Mr, GraderLabel as Mt, WrapBAMLOptions as N, Scenario as Nn, UpdateDatasetParams as Nr, GraderLabelOutcome as Nt, SeedRunOptions as O, Justification as Oi, SaveScenarioActualOutcome as On, RemoveDatasetTracesResult as Or, LangGraphIntegrationOptions as Ot, WrapJevOptions as P, ScenarioAction as Pn, BitfabLanguageModelMiddleware as Pr, GraderLabelSource as Pt, RivetContextLike as Q, TraceTarget as Qn, SpanOccurrence as Qr, LabelStatus as Qt, getCurrentReplayBranch as R, ScenarioDataOrigin as Rn, VercelStreamResult as Rr, GraderVerdictSource as Rt, DetachedTrace as S, BamlExecutionResult as Si, AssertionRewriteStatus as Sn, GraderRerunProgress as Sr, OrganizationMember as St, ReseedOptions as T, ApprovalState as Ti, SaveAssertion as Tn, GraderRerunTimeoutError as Tr, BitfabAgentMiddleware as Tt, BitfabOpenAITracingProcessor as U, ScenarioSource as Un, CategoriesClient as Ur, AssertionVerdict as Ut, CaptureSurface as V, ScenarioRecord as Vn, AssertionCategory as Vr, ArchiveLabelTarget as Vt, TraceResponse as W, ScenarioTrigger as Wn, Category as Wr, HumanLabelOutcome as Wt, SpansClient as X, TraceSearchParams as Xn, HttpClient as Xr, LabelOutcome as Xt, SpanListResult as Y, TraceSearchFilters as Yn, CodeChangeFile as Yr, LabelConfidence as Yt, BitfabRivetIntegration as Z, TraceSearchResult as Zn, SpanLookup as Zr, LabelSource as Zt, BitfabConfig as _, ReplayNodeIdentity as _i, AssertionGenerationError as _n, DatasetGraderRef as _r, TraceIngestionType as _t, ReplayRegistryOptions as a, MockOverrideInput as ai, Verdict as an, ExperimentPage as ar, DbBranchOptions as at, CurrentSpan as b, SelectiveReplayReport as bi, AssertionLabelEvidence as bn, GraderRerun as br, ReplayInterrupt as bt, SeedResult as c, NO_MOCK_OVERRIDE as ci, VerdictOutcome as cn, ExperimentRunBy as cr, ReplayError as ct, seedFromRegistry as d, BitfabError as di, VerdictTarget as dn, ExperimentTotals as dr, ReplayItemFinishProgress as dt, TokenUsage as ei, LabelUpdate as en, TracesClient as er, RivetIntegrationOptions as et, finalizers as f, MixedTracingError as fi, VerdictUpdate as fn, ExperimentsClient as fr, ReplayItemStartProgress as ft, Bitfab as g, SUPPORTED_PROVIDERS as gi, AssertionGeneration as gn, Dataset as gr, ReplayResult as gt, CommitRef as h, DbSnapshotRef as hi, AssertionEvidenceParameter as hn, AddDatasetTracesResult as hr, ReplayProgressItem as ht, ReplayRegistryContext as i, MockOverrideCtx as ii, TraceVerdicts as in, ExperimentJitter as ir, BITFAB_PROGRESS_PREFIX as it, SpanOptions as j, SaveScenarioParams as jn, SaveDatasetParams as jr, GetGraderVerdictsParams as jt, SpanMethodDecorator as k, JustificationSpan as ki, SaveScenarioData as kn, RerunGradersOptions as kr, BitfabLangGraphCallbackHandler as kt, defineReplayRegistry as l, NodeMatcher as li, VerdictSource as ln, ExperimentStatus as lr, ReplayExperiment as lt, __version__ as m, DbSnapshotProvider as mi, ArchiveAssertionsParams as mn, AddDatasetGradersResult as mr, ReplayProgress as mt, ReplayRegistration as n, DbBranchTimings as ni, PassFailVerdict as nn, ExperimentCategoryTally as nr, AdaptContext as nt, ReseedRegistryResult as o, MockOverrideResolver as oi, VerdictAction as on, ExperimentRollup as or, DbBranchReplayError as ot, DEFAULT_SERVICE_URL as p, DbSnapshotConfig as pi, VerdictsClient as pn, ListExperimentsParams as pr, ReplayOptions as pt, SpanListField as q, TraceAssertionsResult as qn, SaveCategoryParams as qr, HumanVerdictUpdate as qt, ReplayRegistry as r, MockOverride as ri, TraceLabels as rn, ExperimentCodeChangeTotals as rr, AdaptInputsFn as rt, SeedCase as s, MockValue as si, VerdictConfidence as sn, ExperimentRollupResult as sr, MockStrategy as st, ReplayOptionsFactory as t, flushTraces as ti, LabelsClient as tn, Experiment as tr, ReplayBranch as tt, reseedFromRegistry as u, SpanNodeMeta as ui, VerdictStatus as un, ExperimentTally as ur, ReplayItem as ut, BitfabFunction as v, SelectiveReplayDecision as vi, AssertionGenerationStatus as vn, DatasetTraceIds as vr, reportReplayProgress as vt, NodeOptions as w, ApprovalFields as wi, GenerateAssertionsOptions as wn, GraderRerunStatus as wr, BitfabOpenAIAgentHandler as wt, CurrentTrace as x, AllowedEnvVars as xi, AssertionRewrite as xn, GraderRerunError as xr, ReplayInterruptSignal as xt, CaptureWhen as y, SelectiveReplayOptions as yi, AssertionGenerationTimeoutError as yn, DatasetsClient as yr, serializeReplayResult as yt, getCurrentSpan as z, ScenarioDataSources as zn, BitfabClaudeAgentHandler as zr, GraderVerdictUpdate as zt };
@@ -1761,11 +1761,61 @@ type ScenarioHistoryEntry = {
1761
1761
  sincePrevious: string | null;
1762
1762
  source: ScenarioSource | null;
1763
1763
  };
1764
+ /**
1765
+ * One record your own systems hold that relates to the run, such as a
1766
+ * message, a memory, or an order, as sent to `saveScenario`.
1767
+ */
1768
+ type ScenarioRecordInput = {
1769
+ /** Any name for the kind of record, such as `"memory"` or `"order"`. */
1770
+ kind: string;
1771
+ /** Your own pointer to the record, such as `"Memory:812"`. */
1772
+ ref: string;
1773
+ /** When the record came to exist, as an ISO 8601 time, or null. */
1774
+ at: string | null;
1775
+ /** `"run"` when the record is as it was at the run, `"now"` when no history is kept for it. */
1776
+ asOf: "run" | "now";
1777
+ title: string;
1778
+ text: string;
1779
+ /**
1780
+ * The exact text Bitfab looks for in the run's spans, or null to look for
1781
+ * `text` instead.
1782
+ */
1783
+ quote: string | null;
1784
+ };
1785
+ /**
1786
+ * A saved record. `source` is the span Bitfab found it in, or null when it
1787
+ * shows up in none of the run's spans.
1788
+ */
1789
+ type ScenarioRecord = ScenarioRecordInput & {
1790
+ source: ScenarioSource | null;
1791
+ };
1792
+ /**
1793
+ * Where a scenario's records came from: when the run started, when its data
1794
+ * was captured, how many days each windowed kind reaches, and how fully each
1795
+ * kind of data was read.
1796
+ */
1797
+ type ScenarioDataSources = {
1798
+ frameAt: string;
1799
+ capturedAt: string | null;
1800
+ windows: Record<string, number>;
1801
+ coverage: {
1802
+ calendarExcludedCount?: number;
1803
+ filledColumns: {
1804
+ absentNullable: string[];
1805
+ defaultedNonNullable: string[];
1806
+ };
1807
+ [key: string]: unknown;
1808
+ };
1809
+ };
1764
1810
  type ScenarioData = {
1765
1811
  hasHistory: boolean;
1766
1812
  topic: string;
1767
1813
  history: ScenarioHistoryEntry[];
1768
1814
  missing: string[];
1815
+ /** The scenario's records, or absent when none have been saved. */
1816
+ records?: ScenarioRecord[];
1817
+ /** Where the records came from, or absent when not saved. */
1818
+ sources?: ScenarioDataSources;
1769
1819
  };
1770
1820
  /** One thing the run did, such as sending a message or calling a tool. */
1771
1821
  type ScenarioAction = {
@@ -1818,7 +1868,13 @@ type Scenario = {
1818
1868
  type SaveScenarioHistoryEntry = Omit<ScenarioHistoryEntry, "source"> & {
1819
1869
  source?: ScenarioSource | null;
1820
1870
  };
1821
- type SaveScenarioData = Omit<ScenarioData, "history"> & {
1871
+ /**
1872
+ * The whole data object sent to `saveScenario`. It has no records: the saved
1873
+ * records are kept, and `records` on `saveScenario` replaces them. A data
1874
+ * object read back from `getScenario` can be sent as it is, and its `records`
1875
+ * and `sources` are left out of the request.
1876
+ */
1877
+ type SaveScenarioData = Omit<ScenarioData, "history" | "records" | "sources"> & {
1822
1878
  history: SaveScenarioHistoryEntry[];
1823
1879
  };
1824
1880
  /**
@@ -1832,8 +1888,10 @@ type ScenarioDataAppend = {
1832
1888
  history?: SaveScenarioHistoryEntry[];
1833
1889
  missing?: string[];
1834
1890
  };
1835
- type SaveScenarioParams = {
1891
+ type SaveScenarioEditParams = {
1836
1892
  traceId: string;
1893
+ records?: never;
1894
+ sources?: never;
1837
1895
  name?: string;
1838
1896
  description?: string;
1839
1897
  trigger?: ScenarioTrigger;
@@ -1870,6 +1928,26 @@ type SaveScenarioParams = {
1870
1928
  } | {
1871
1929
  categoryIds: string[];
1872
1930
  });
1931
+ /**
1932
+ * Replaces the scenario's records whole. Bitfab looks for each record's
1933
+ * `quote`, or failing that its `text`, in the run's spans and saves the span
1934
+ * it shows up in. Records are saved on their own, with only `sources` beside
1935
+ * them. A non-empty list is refused while the scenario's trigger is empty.
1936
+ */
1937
+ type SaveScenarioRecordsParams = {
1938
+ traceId: string;
1939
+ records: ScenarioRecordInput[];
1940
+ /** Where the records came from. Leaving it out clears the saved sources. */
1941
+ sources?: ScenarioDataSources;
1942
+ name?: never;
1943
+ description?: never;
1944
+ trigger?: never;
1945
+ data?: never;
1946
+ appendData?: never;
1947
+ actualOutcome?: never;
1948
+ categoryIds?: never;
1949
+ };
1950
+ type SaveScenarioParams = SaveScenarioEditParams | SaveScenarioRecordsParams;
1873
1951
  type AssertionGenerationStatus = "running" | "completed" | "failed";
1874
1952
  type AssertionGeneration = {
1875
1953
  status: AssertionGenerationStatus;
@@ -4891,7 +4969,7 @@ interface CommitRef {
4891
4969
  /**
4892
4970
  * SDK version from package.json (injected at build time)
4893
4971
  */
4894
- declare const __version__ = "0.68.5";
4972
+ declare const __version__ = "0.68.6";
4895
4973
  //#endregion
4896
4974
  //#region src/constants.d.ts
4897
4975
  /**
@@ -5033,4 +5111,4 @@ declare function seedFromRegistry(registry: ReplayRegistry, pipeline: string, ca
5033
5111
  run?: boolean;
5034
5112
  }): Promise<SeedResult>;
5035
5113
  //#endregion
5036
- export { RivetEffectType as $, ExperimentCategoryTally as $n, DbBranchTimings as $r, LabelTarget as $t, SpanMethodDecoratorContext as A, SaveScenarioHistoryEntry as An, UpdateDatasetParams as Ar, GetGraderLabelsParams as At, getCurrentTrace as B, ScenarioSource as Bn, CategoriesClient as Br, GradersClient as Bt, NodeMethodDecorator as C, Approver as Ci, AssertionVerdictEvidence as Cn, ListDatasetsParams as Cr, OrganizationMembersClient as Ct, SeedCaseOptions as D, SaveAssertionsParams as Dn, RerunGradersResult as Dr, BitfabLangGraphIntegration as Dt, ReseedResult as E, JustificationSpan as Ei, SaveAssertionsAllParams as En, RerunGradersOptions as Er, BitfabLangGraphAgent as Et, WrapOpenAIResponsesOptions as F, ScenarioActualOutcome as Fn, VercelStreamResult as Fr, GraderLabelUpdate as Ft, TracingProcessor as G, TraceAssertionsUpdate as Gn, CapturedSpan as Gr, HumanLabelUpdate as Gt, ActiveSpanContext as H, TraceAssertion as Hn, CategorySummary as Hr, ArchiveVerdictTarget as Ht, WrapOpenRouterOptions as I, ScenarioData as In, BitfabClaudeAgentHandler as Ir, GraderVerdict as It, SpanListParams as J, TraceSearchResult as Jn, SpanLookup as Jr, LabelAction as Jt, ListedSpan as K, TraceSearchFilters as Kn, CodeChangeFile as Kr, HumanVerdictOutcome as Kt, WrappedBamlFn as L, ScenarioDataAppend as Ln, AssertionCategoriesClient as Lr, GraderVerdictOutcome as Lt, WrapAnthropicOptions as M, SavedTraceAssertion as Mn, BitfabVercelAiHandler as Mr, GraderLabel as Mt, WrapBAMLOptions as N, Scenario as Nn, VercelCallParams as Nr, GraderLabelOutcome as Nt, SeedRunOptions as O, SaveScenarioActualOutcome as On, SaveDatasetParams as Or, LangGraphIntegrationOptions as Ot, WrapJevOptions as P, ScenarioAction as Pn, VercelGenerateResult as Pr, GraderLabelSource as Pt, RivetContextLike as Q, Experiment as Qn, flushTraces as Qr, LabelStatus as Qt, getCurrentReplayBranch as R, ScenarioDataOrigin as Rn, AssertionCategory as Rr, GraderVerdictSource as Rt, DetachedTrace as S, ApprovalState as Si, AssertionRewriteStatus as Sn, GraderRerunTimeoutError as Sr, OrganizationMember as St, ReseedOptions as T, Justification as Ti, SaveAssertion as Tn, RemoveDatasetTracesResult as Tr, BitfabAgentMiddleware as Tt, BitfabOpenAITracingProcessor as U, TraceAssertionSource as Un, SaveAssertionCategoryParams as Ur, AssertionVerdict as Ut, CaptureSurface as V, ScenarioTrigger as Vn, Category as Vr, ArchiveLabelTarget as Vt, TraceResponse as W, TraceAssertionsResult as Wn, SaveCategoryParams as Wr, HumanLabelOutcome as Wt, SpansClient as X, TraceTargetOccurrence as Xn, SpanType as Xr, LabelOutcome as Xt, SpanListResult as Y, TraceTarget as Yn, SpanOccurrence as Yr, LabelConfidence as Yt, BitfabRivetIntegration as Z, TracesClient as Zn, TokenUsage as Zr, LabelSource as Zt, BitfabConfig as _, SelectiveReplayReport as _i, AssertionGenerationError as _n, GraderRerun as _r, TraceIngestionType as _t, ReplayRegistryOptions as a, NO_MOCK_OVERRIDE as ai, Verdict as an, ExperimentRunBy as ar, DbBranchOptions as at, CurrentSpan as b, ProviderDefinition as bi, AssertionLabelEvidence as bn, GraderRerunResult as br, ReplayInterrupt as bt, SeedResult as c, BitfabError as ci, VerdictOutcome as cn, ExperimentTotals as cr, ReplayError as ct, seedFromRegistry as d, DbSnapshotProvider as di, VerdictTarget as dn, AddDatasetGradersResult as dr, ReplayItemFinishProgress as dt, MockOverride as ei, LabelUpdate as en, ExperimentCodeChangeTotals as er, RivetIntegrationOptions as et, finalizers as f, DbSnapshotRef as fi, VerdictUpdate as fn, AddDatasetTracesResult as fr, ReplayItemStartProgress as ft, Bitfab as g, SelectiveReplayOptions as gi, AssertionGeneration as gn, DatasetsClient as gr, ReplayResult as gt, CommitRef as h, SelectiveReplayDecision as hi, AssertionEvidenceParameter as hn, DatasetTraceIds as hr, ReplayProgressItem as ht, ReplayRegistryContext as i, MockValue as ii, TraceVerdicts as in, ExperimentRollupResult as ir, BITFAB_PROGRESS_PREFIX as it, SpanOptions as j, SaveScenarioParams as jn, BitfabLanguageModelMiddleware as jr, GetGraderVerdictsParams as jt, SpanMethodDecorator as k, SaveScenarioData as kn, SaveDatasetResult as kr, BitfabLangGraphCallbackHandler as kt, defineReplayRegistry as l, MixedTracingError as li, VerdictSource as ln, ExperimentsClient as lr, ReplayExperiment as lt, __version__ as m, ReplayNodeIdentity as mi, ArchiveAssertionsParams as mn, DatasetGraderRef as mr, ReplayProgress as mt, ReplayRegistration as n, MockOverrideInput as ni, PassFailVerdict as nn, ExperimentPage as nr, AdaptContext as nt, ReseedRegistryResult as o, NodeMatcher as oi, VerdictAction as on, ExperimentStatus as or, DbBranchReplayError as ot, DEFAULT_SERVICE_URL as p, SUPPORTED_PROVIDERS as pi, VerdictsClient as pn, Dataset as pr, ReplayOptions as pt, SpanListField as q, TraceSearchParams as qn, HttpClient as qr, HumanVerdictUpdate as qt, ReplayRegistry as r, MockOverrideResolver as ri, TraceLabels as rn, ExperimentRollup as rr, AdaptInputsFn as rt, SeedCase as s, SpanNodeMeta as si, VerdictConfidence as sn, ExperimentTally as sr, MockStrategy as st, ReplayOptionsFactory as t, MockOverrideCtx as ti, LabelsClient as tn, ExperimentJitter as tr, ReplayBranch as tt, reseedFromRegistry as u, DbSnapshotConfig as ui, VerdictStatus as un, ListExperimentsParams as ur, ReplayItem as ut, BitfabFunction as v, AllowedEnvVars as vi, AssertionGenerationStatus as vn, GraderRerunError as vr, reportReplayProgress as vt, NodeOptions as w, Assignee as wi, GenerateAssertionsOptions as wn, RemoveDatasetGradersResult as wr, BitfabOpenAIAgentHandler as wt, CurrentTrace as x, ApprovalFields as xi, AssertionRewrite as xn, GraderRerunStatus as xr, ReplayInterruptSignal as xt, CaptureWhen as y, BamlExecutionResult as yi, AssertionGenerationTimeoutError as yn, GraderRerunProgress as yr, serializeReplayResult as yt, getCurrentSpan as z, ScenarioHistoryEntry as zn, AssertionCategorySummary as zr, GraderVerdictUpdate as zt };
5114
+ export { RivetEffectType as $, TraceTargetOccurrence as $n, SpanType as $r, LabelTarget as $t, SpanMethodDecoratorContext as A, SaveScenarioHistoryEntry as An, RerunGradersResult as Ar, GetGraderLabelsParams as At, getCurrentTrace as B, ScenarioHistoryEntry as Bn, AssertionCategoriesClient as Br, GradersClient as Bt, NodeMethodDecorator as C, ProviderDefinition as Ci, AssertionVerdictEvidence as Cn, GraderRerunResult as Cr, OrganizationMembersClient as Ct, SeedCaseOptions as D, Assignee as Di, SaveAssertionsParams as Dn, RemoveDatasetGradersResult as Dr, BitfabLangGraphIntegration as Dt, ReseedResult as E, Approver as Ei, SaveAssertionsAllParams as En, ListDatasetsParams as Er, BitfabLangGraphAgent as Et, WrapOpenAIResponsesOptions as F, ScenarioActualOutcome as Fn, BitfabVercelAiHandler as Fr, GraderLabelUpdate as Ft, TracingProcessor as G, TraceAssertion as Gn, CategorySummary as Gr, HumanLabelUpdate as Gt, ActiveSpanContext as H, ScenarioRecordInput as Hn, AssertionCategorySummary as Hr, ArchiveVerdictTarget as Ht, WrapOpenRouterOptions as I, ScenarioData as In, VercelCallParams as Ir, GraderVerdict as It, SpanListParams as J, TraceAssertionsUpdate as Jn, CapturedSpan as Jr, LabelAction as Jt, ListedSpan as K, TraceAssertionSource as Kn, SaveAssertionCategoryParams as Kr, HumanVerdictOutcome as Kt, WrappedBamlFn as L, ScenarioDataAppend as Ln, VercelGenerateResult as Lr, GraderVerdictOutcome as Lt, WrapAnthropicOptions as M, SavedTraceAssertion as Mn, SaveDatasetResult as Mr, GraderLabel as Mt, WrapBAMLOptions as N, Scenario as Nn, UpdateDatasetParams as Nr, GraderLabelOutcome as Nt, SeedRunOptions as O, Justification as Oi, SaveScenarioActualOutcome as On, RemoveDatasetTracesResult as Or, LangGraphIntegrationOptions as Ot, WrapJevOptions as P, ScenarioAction as Pn, BitfabLanguageModelMiddleware as Pr, GraderLabelSource as Pt, RivetContextLike as Q, TraceTarget as Qn, SpanOccurrence as Qr, LabelStatus as Qt, getCurrentReplayBranch as R, ScenarioDataOrigin as Rn, VercelStreamResult as Rr, GraderVerdictSource as Rt, DetachedTrace as S, BamlExecutionResult as Si, AssertionRewriteStatus as Sn, GraderRerunProgress as Sr, OrganizationMember as St, ReseedOptions as T, ApprovalState as Ti, SaveAssertion as Tn, GraderRerunTimeoutError as Tr, BitfabAgentMiddleware as Tt, BitfabOpenAITracingProcessor as U, ScenarioSource as Un, CategoriesClient as Ur, AssertionVerdict as Ut, CaptureSurface as V, ScenarioRecord as Vn, AssertionCategory as Vr, ArchiveLabelTarget as Vt, TraceResponse as W, ScenarioTrigger as Wn, Category as Wr, HumanLabelOutcome as Wt, SpansClient as X, TraceSearchParams as Xn, HttpClient as Xr, LabelOutcome as Xt, SpanListResult as Y, TraceSearchFilters as Yn, CodeChangeFile as Yr, LabelConfidence as Yt, BitfabRivetIntegration as Z, TraceSearchResult as Zn, SpanLookup as Zr, LabelSource as Zt, BitfabConfig as _, ReplayNodeIdentity as _i, AssertionGenerationError as _n, DatasetGraderRef as _r, TraceIngestionType as _t, ReplayRegistryOptions as a, MockOverrideInput as ai, Verdict as an, ExperimentPage as ar, DbBranchOptions as at, CurrentSpan as b, SelectiveReplayReport as bi, AssertionLabelEvidence as bn, GraderRerun as br, ReplayInterrupt as bt, SeedResult as c, NO_MOCK_OVERRIDE as ci, VerdictOutcome as cn, ExperimentRunBy as cr, ReplayError as ct, seedFromRegistry as d, BitfabError as di, VerdictTarget as dn, ExperimentTotals as dr, ReplayItemFinishProgress as dt, TokenUsage as ei, LabelUpdate as en, TracesClient as er, RivetIntegrationOptions as et, finalizers as f, MixedTracingError as fi, VerdictUpdate as fn, ExperimentsClient as fr, ReplayItemStartProgress as ft, Bitfab as g, SUPPORTED_PROVIDERS as gi, AssertionGeneration as gn, Dataset as gr, ReplayResult as gt, CommitRef as h, DbSnapshotRef as hi, AssertionEvidenceParameter as hn, AddDatasetTracesResult as hr, ReplayProgressItem as ht, ReplayRegistryContext as i, MockOverrideCtx as ii, TraceVerdicts as in, ExperimentJitter as ir, BITFAB_PROGRESS_PREFIX as it, SpanOptions as j, SaveScenarioParams as jn, SaveDatasetParams as jr, GetGraderVerdictsParams as jt, SpanMethodDecorator as k, JustificationSpan as ki, SaveScenarioData as kn, RerunGradersOptions as kr, BitfabLangGraphCallbackHandler as kt, defineReplayRegistry as l, NodeMatcher as li, VerdictSource as ln, ExperimentStatus as lr, ReplayExperiment as lt, __version__ as m, DbSnapshotProvider as mi, ArchiveAssertionsParams as mn, AddDatasetGradersResult as mr, ReplayProgress as mt, ReplayRegistration as n, DbBranchTimings as ni, PassFailVerdict as nn, ExperimentCategoryTally as nr, AdaptContext as nt, ReseedRegistryResult as o, MockOverrideResolver as oi, VerdictAction as on, ExperimentRollup as or, DbBranchReplayError as ot, DEFAULT_SERVICE_URL as p, DbSnapshotConfig as pi, VerdictsClient as pn, ListExperimentsParams as pr, ReplayOptions as pt, SpanListField as q, TraceAssertionsResult as qn, SaveCategoryParams as qr, HumanVerdictUpdate as qt, ReplayRegistry as r, MockOverride as ri, TraceLabels as rn, ExperimentCodeChangeTotals as rr, AdaptInputsFn as rt, SeedCase as s, MockValue as si, VerdictConfidence as sn, ExperimentRollupResult as sr, MockStrategy as st, ReplayOptionsFactory as t, flushTraces as ti, LabelsClient as tn, Experiment as tr, ReplayBranch as tt, reseedFromRegistry as u, SpanNodeMeta as ui, VerdictStatus as un, ExperimentTally as ur, ReplayItem as ut, BitfabFunction as v, SelectiveReplayDecision as vi, AssertionGenerationStatus as vn, DatasetTraceIds as vr, reportReplayProgress as vt, NodeOptions as w, ApprovalFields as wi, GenerateAssertionsOptions as wn, GraderRerunStatus as wr, BitfabOpenAIAgentHandler as wt, CurrentTrace as x, AllowedEnvVars as xi, AssertionRewrite as xn, GraderRerunError as xr, ReplayInterruptSignal as xt, CaptureWhen as y, SelectiveReplayOptions as yi, AssertionGenerationTimeoutError as yn, DatasetsClient as yr, serializeReplayResult as yt, getCurrentSpan as z, ScenarioDataSources as zn, BitfabClaudeAgentHandler as zr, GraderVerdictUpdate as zt };
package/dist/index.cjs CHANGED
@@ -11,8 +11,8 @@ Object.defineProperties(exports, {
11
11
  __esModule: { value: true },
12
12
  [Symbol.toStringTag]: { value: "Module" }
13
13
  });
14
- const require_src = require("./src-CxELko3f.cjs");
15
- const require_http = require("./http-DFqFW_hG.cjs");
14
+ const require_src = require("./src-C3H1v_hp.cjs");
15
+ const require_http = require("./http-CARmid5D.cjs");
16
16
  exports.AssertionCategoriesClient = require_src.AssertionCategoriesClient;
17
17
  exports.AssertionGenerationError = require_src.AssertionGenerationError;
18
18
  exports.AssertionGenerationTimeoutError = require_src.AssertionGenerationTimeoutError;
package/dist/index.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as RivetEffectType, $n as ExperimentCategoryTally, $r as DbBranchTimings, $t as LabelTarget, A as SpanMethodDecoratorContext, An as SaveScenarioHistoryEntry, Ar as UpdateDatasetParams, At as GetGraderLabelsParams, B as getCurrentTrace, Bn as ScenarioSource, Br as CategoriesClient, Bt as GradersClient, C as NodeMethodDecorator, Ci as Approver, Cn as AssertionVerdictEvidence, Cr as ListDatasetsParams, Ct as OrganizationMembersClient, D as SeedCaseOptions, Dn as SaveAssertionsParams, Dr as RerunGradersResult, Dt as BitfabLangGraphIntegration, E as ReseedResult, Ei as JustificationSpan, En as SaveAssertionsAllParams, Er as RerunGradersOptions, Et as BitfabLangGraphAgent, F as WrapOpenAIResponsesOptions, Fn as ScenarioActualOutcome, Fr as VercelStreamResult, Ft as GraderLabelUpdate, G as TracingProcessor, Gn as TraceAssertionsUpdate, Gr as CapturedSpan, Gt as HumanLabelUpdate, H as ActiveSpanContext, Hn as TraceAssertion, Hr as CategorySummary, Ht as ArchiveVerdictTarget, I as WrapOpenRouterOptions, In as ScenarioData, Ir as BitfabClaudeAgentHandler, It as GraderVerdict, J as SpanListParams, Jn as TraceSearchResult, Jr as SpanLookup, Jt as LabelAction, K as ListedSpan, Kn as TraceSearchFilters, Kr as CodeChangeFile, Kt as HumanVerdictOutcome, L as WrappedBamlFn, Ln as ScenarioDataAppend, Lr as AssertionCategoriesClient, Lt as GraderVerdictOutcome, M as WrapAnthropicOptions, Mn as SavedTraceAssertion, Mr as BitfabVercelAiHandler, Mt as GraderLabel, N as WrapBAMLOptions, Nn as Scenario, Nr as VercelCallParams, Nt as GraderLabelOutcome, O as SeedRunOptions, On as SaveScenarioActualOutcome, Or as SaveDatasetParams, Ot as LangGraphIntegrationOptions, P as WrapJevOptions, Pn as ScenarioAction, Pr as VercelGenerateResult, Pt as GraderLabelSource, Q as RivetContextLike, Qn as Experiment, Qr as flushTraces, Qt as LabelStatus, R as getCurrentReplayBranch, Rn as ScenarioDataOrigin, Rr as AssertionCategory, Rt as GraderVerdictSource, S as DetachedTrace, Si as ApprovalState, Sn as AssertionRewriteStatus, Sr as GraderRerunTimeoutError, St as OrganizationMember, T as ReseedOptions, Ti as Justification, Tn as SaveAssertion, Tr as RemoveDatasetTracesResult, Tt as BitfabAgentMiddleware, U as BitfabOpenAITracingProcessor, Un as TraceAssertionSource, Ur as SaveAssertionCategoryParams, Ut as AssertionVerdict, V as CaptureSurface, Vn as ScenarioTrigger, Vr as Category, Vt as ArchiveLabelTarget, W as TraceResponse, Wn as TraceAssertionsResult, Wr as SaveCategoryParams, Wt as HumanLabelOutcome, X as SpansClient, Xn as TraceTargetOccurrence, Xr as SpanType, Xt as LabelOutcome, Y as SpanListResult, Yn as TraceTarget, Yr as SpanOccurrence, Yt as LabelConfidence, Z as BitfabRivetIntegration, Zn as TracesClient, Zr as TokenUsage, Zt as LabelSource, _ as BitfabConfig, _i as SelectiveReplayReport, _n as AssertionGenerationError, _r as GraderRerun, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as NO_MOCK_OVERRIDE, an as Verdict, ar as ExperimentRunBy, at as DbBranchOptions, b as CurrentSpan, bi as ProviderDefinition, bn as AssertionLabelEvidence, br as GraderRerunResult, bt as ReplayInterrupt, c as SeedResult, ci as BitfabError, cn as VerdictOutcome, cr as ExperimentTotals, ct as ReplayError, d as seedFromRegistry, di as DbSnapshotProvider, dn as VerdictTarget, dr as AddDatasetGradersResult, dt as ReplayItemFinishProgress, ei as MockOverride, en as LabelUpdate, er as ExperimentCodeChangeTotals, et as RivetIntegrationOptions, f as finalizers, fi as DbSnapshotRef, fn as VerdictUpdate, fr as AddDatasetTracesResult, ft as ReplayItemStartProgress, g as Bitfab, gi as SelectiveReplayOptions, gn as AssertionGeneration, gr as DatasetsClient, gt as ReplayResult, h as CommitRef, hi as SelectiveReplayDecision, hn as AssertionEvidenceParameter, hr as DatasetTraceIds, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as MockValue, in as TraceVerdicts, ir as ExperimentRollupResult, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, jn as SaveScenarioParams, jr as BitfabLanguageModelMiddleware, jt as GetGraderVerdictsParams, k as SpanMethodDecorator, kn as SaveScenarioData, kr as SaveDatasetResult, kt as BitfabLangGraphCallbackHandler, l as defineReplayRegistry, li as MixedTracingError, ln as VerdictSource, lr as ExperimentsClient, lt as ReplayExperiment, m as __version__, mi as ReplayNodeIdentity, mn as ArchiveAssertionsParams, mr as DatasetGraderRef, mt as ReplayProgress, n as ReplayRegistration, ni as MockOverrideInput, nn as PassFailVerdict, nr as ExperimentPage, nt as AdaptContext, o as ReseedRegistryResult, oi as NodeMatcher, on as VerdictAction, or as ExperimentStatus, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as SUPPORTED_PROVIDERS, pn as VerdictsClient, pr as Dataset, pt as ReplayOptions, q as SpanListField, qn as TraceSearchParams, qr as HttpClient, qt as HumanVerdictUpdate, r as ReplayRegistry, ri as MockOverrideResolver, rn as TraceLabels, rr as ExperimentRollup, rt as AdaptInputsFn, s as SeedCase, si as SpanNodeMeta, sn as VerdictConfidence, sr as ExperimentTally, st as MockStrategy, t as ReplayOptionsFactory, ti as MockOverrideCtx, tn as LabelsClient, tr as ExperimentJitter, tt as ReplayBranch, u as reseedFromRegistry, ui as DbSnapshotConfig, un as VerdictStatus, ur as ListExperimentsParams, ut as ReplayItem, v as BitfabFunction, vi as AllowedEnvVars, vn as AssertionGenerationStatus, vr as GraderRerunError, vt as reportReplayProgress, w as NodeOptions, wi as Assignee, wn as GenerateAssertionsOptions, wr as RemoveDatasetGradersResult, wt as BitfabOpenAIAgentHandler, x as CurrentTrace, xi as ApprovalFields, xn as AssertionRewrite, xr as GraderRerunStatus, xt as ReplayInterruptSignal, y as CaptureWhen, yi as BamlExecutionResult, yn as AssertionGenerationTimeoutError, yr as GraderRerunProgress, yt as serializeReplayResult, z as getCurrentSpan, zn as ScenarioHistoryEntry, zr as AssertionCategorySummary, zt as GraderVerdictUpdate } from "./index-DMJ6qrtL.cjs";
2
- export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioHistoryEntry, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type 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 TraceTargetOccurrence, $r as SpanType, $t as LabelTarget, A as SpanMethodDecoratorContext, An as SaveScenarioHistoryEntry, Ar as RerunGradersResult, At as GetGraderLabelsParams, B as getCurrentTrace, Bn as ScenarioHistoryEntry, Br as AssertionCategoriesClient, Bt as GradersClient, C as NodeMethodDecorator, Ci as ProviderDefinition, Cn as AssertionVerdictEvidence, Cr as GraderRerunResult, Ct as OrganizationMembersClient, D as SeedCaseOptions, Di as Assignee, Dn as SaveAssertionsParams, Dr as RemoveDatasetGradersResult, Dt as BitfabLangGraphIntegration, E as ReseedResult, Ei as Approver, En as SaveAssertionsAllParams, Er as ListDatasetsParams, Et as BitfabLangGraphAgent, F as WrapOpenAIResponsesOptions, Fn as ScenarioActualOutcome, Fr as BitfabVercelAiHandler, Ft as GraderLabelUpdate, G as TracingProcessor, Gn as TraceAssertion, Gr as CategorySummary, Gt as HumanLabelUpdate, H as ActiveSpanContext, Hn as ScenarioRecordInput, Hr as AssertionCategorySummary, Ht as ArchiveVerdictTarget, I as WrapOpenRouterOptions, In as ScenarioData, Ir as VercelCallParams, It as GraderVerdict, J as SpanListParams, Jn as TraceAssertionsUpdate, Jr as CapturedSpan, Jt as LabelAction, K as ListedSpan, Kn as TraceAssertionSource, Kr as SaveAssertionCategoryParams, Kt as HumanVerdictOutcome, L as WrappedBamlFn, Ln as ScenarioDataAppend, Lr as VercelGenerateResult, Lt as GraderVerdictOutcome, M as WrapAnthropicOptions, Mn as SavedTraceAssertion, Mr as SaveDatasetResult, Mt as GraderLabel, N as WrapBAMLOptions, Nn as Scenario, Nr as UpdateDatasetParams, Nt as GraderLabelOutcome, O as SeedRunOptions, Oi as Justification, On as SaveScenarioActualOutcome, Or as RemoveDatasetTracesResult, Ot as LangGraphIntegrationOptions, P as WrapJevOptions, Pn as ScenarioAction, Pr as BitfabLanguageModelMiddleware, Pt as GraderLabelSource, Q as RivetContextLike, Qn as TraceTarget, Qr as SpanOccurrence, Qt as LabelStatus, R as getCurrentReplayBranch, Rn as ScenarioDataOrigin, Rr as VercelStreamResult, Rt as GraderVerdictSource, S as DetachedTrace, Si as BamlExecutionResult, Sn as AssertionRewriteStatus, Sr as GraderRerunProgress, St as OrganizationMember, T as ReseedOptions, Ti as ApprovalState, Tn as SaveAssertion, Tr as GraderRerunTimeoutError, Tt as BitfabAgentMiddleware, U as BitfabOpenAITracingProcessor, Un as ScenarioSource, Ur as CategoriesClient, Ut as AssertionVerdict, V as CaptureSurface, Vn as ScenarioRecord, Vr as AssertionCategory, Vt as ArchiveLabelTarget, W as TraceResponse, Wn as ScenarioTrigger, Wr as Category, Wt as HumanLabelOutcome, X as SpansClient, Xn as TraceSearchParams, Xr as HttpClient, Xt as LabelOutcome, Y as SpanListResult, Yn as TraceSearchFilters, Yr as CodeChangeFile, Yt as LabelConfidence, Z as BitfabRivetIntegration, Zn as TraceSearchResult, Zr as SpanLookup, Zt as LabelSource, _ as BitfabConfig, _i as ReplayNodeIdentity, _n as AssertionGenerationError, _r as DatasetGraderRef, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as MockOverrideInput, an as Verdict, ar as ExperimentPage, at as DbBranchOptions, b as CurrentSpan, bi as SelectiveReplayReport, bn as AssertionLabelEvidence, br as GraderRerun, bt as ReplayInterrupt, c as SeedResult, ci as NO_MOCK_OVERRIDE, cn as VerdictOutcome, cr as ExperimentRunBy, ct as ReplayError, d as seedFromRegistry, di as BitfabError, dn as VerdictTarget, dr as ExperimentTotals, dt as ReplayItemFinishProgress, ei as TokenUsage, en as LabelUpdate, er as TracesClient, et as RivetIntegrationOptions, f as finalizers, fi as MixedTracingError, fn as VerdictUpdate, fr as ExperimentsClient, ft as ReplayItemStartProgress, g as Bitfab, gi as SUPPORTED_PROVIDERS, gn as AssertionGeneration, gr as Dataset, gt as ReplayResult, h as CommitRef, hi as DbSnapshotRef, hn as AssertionEvidenceParameter, hr as AddDatasetTracesResult, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as MockOverrideCtx, in as TraceVerdicts, ir as ExperimentJitter, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, jn as SaveScenarioParams, jr as SaveDatasetParams, jt as GetGraderVerdictsParams, k as SpanMethodDecorator, ki as JustificationSpan, kn as SaveScenarioData, kr as RerunGradersOptions, kt as BitfabLangGraphCallbackHandler, l as defineReplayRegistry, li as NodeMatcher, ln as VerdictSource, lr as ExperimentStatus, lt as ReplayExperiment, m as __version__, mi as DbSnapshotProvider, mn as ArchiveAssertionsParams, mr as AddDatasetGradersResult, mt as ReplayProgress, n as ReplayRegistration, ni as DbBranchTimings, nn as PassFailVerdict, nr as ExperimentCategoryTally, nt as AdaptContext, o as ReseedRegistryResult, oi as MockOverrideResolver, on as VerdictAction, or as ExperimentRollup, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as DbSnapshotConfig, pn as VerdictsClient, pr as ListExperimentsParams, pt as ReplayOptions, q as SpanListField, qn as TraceAssertionsResult, qr as SaveCategoryParams, qt as HumanVerdictUpdate, r as ReplayRegistry, ri as MockOverride, rn as TraceLabels, rr as ExperimentCodeChangeTotals, rt as AdaptInputsFn, s as SeedCase, si as MockValue, sn as VerdictConfidence, sr as ExperimentRollupResult, st as MockStrategy, t as ReplayOptionsFactory, ti as flushTraces, tn as LabelsClient, tr as Experiment, tt as ReplayBranch, u as reseedFromRegistry, ui as SpanNodeMeta, un as VerdictStatus, ur as ExperimentTally, ut as ReplayItem, v as BitfabFunction, vi as SelectiveReplayDecision, vn as AssertionGenerationStatus, vr as DatasetTraceIds, vt as reportReplayProgress, w as NodeOptions, wi as ApprovalFields, wn as GenerateAssertionsOptions, wr as GraderRerunStatus, wt as BitfabOpenAIAgentHandler, x as CurrentTrace, xi as AllowedEnvVars, xn as AssertionRewrite, xr as GraderRerunError, xt as ReplayInterruptSignal, y as CaptureWhen, yi as SelectiveReplayOptions, yn as AssertionGenerationTimeoutError, yr as DatasetsClient, yt as serializeReplayResult, z as getCurrentSpan, zn as ScenarioDataSources, zr as BitfabClaudeAgentHandler, zt as GraderVerdictUpdate } from "./index-BuP59-AI.cjs";
2
+ export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as RivetEffectType, $n as ExperimentCategoryTally, $r as DbBranchTimings, $t as LabelTarget, A as SpanMethodDecoratorContext, An as SaveScenarioHistoryEntry, Ar as UpdateDatasetParams, At as GetGraderLabelsParams, B as getCurrentTrace, Bn as ScenarioSource, Br as CategoriesClient, Bt as GradersClient, C as NodeMethodDecorator, Ci as Approver, Cn as AssertionVerdictEvidence, Cr as ListDatasetsParams, Ct as OrganizationMembersClient, D as SeedCaseOptions, Dn as SaveAssertionsParams, Dr as RerunGradersResult, Dt as BitfabLangGraphIntegration, E as ReseedResult, Ei as JustificationSpan, En as SaveAssertionsAllParams, Er as RerunGradersOptions, Et as BitfabLangGraphAgent, F as WrapOpenAIResponsesOptions, Fn as ScenarioActualOutcome, Fr as VercelStreamResult, Ft as GraderLabelUpdate, G as TracingProcessor, Gn as TraceAssertionsUpdate, Gr as CapturedSpan, Gt as HumanLabelUpdate, H as ActiveSpanContext, Hn as TraceAssertion, Hr as CategorySummary, Ht as ArchiveVerdictTarget, I as WrapOpenRouterOptions, In as ScenarioData, Ir as BitfabClaudeAgentHandler, It as GraderVerdict, J as SpanListParams, Jn as TraceSearchResult, Jr as SpanLookup, Jt as LabelAction, K as ListedSpan, Kn as TraceSearchFilters, Kr as CodeChangeFile, Kt as HumanVerdictOutcome, L as WrappedBamlFn, Ln as ScenarioDataAppend, Lr as AssertionCategoriesClient, Lt as GraderVerdictOutcome, M as WrapAnthropicOptions, Mn as SavedTraceAssertion, Mr as BitfabVercelAiHandler, Mt as GraderLabel, N as WrapBAMLOptions, Nn as Scenario, Nr as VercelCallParams, Nt as GraderLabelOutcome, O as SeedRunOptions, On as SaveScenarioActualOutcome, Or as SaveDatasetParams, Ot as LangGraphIntegrationOptions, P as WrapJevOptions, Pn as ScenarioAction, Pr as VercelGenerateResult, Pt as GraderLabelSource, Q as RivetContextLike, Qn as Experiment, Qr as flushTraces, Qt as LabelStatus, R as getCurrentReplayBranch, Rn as ScenarioDataOrigin, Rr as AssertionCategory, Rt as GraderVerdictSource, S as DetachedTrace, Si as ApprovalState, Sn as AssertionRewriteStatus, Sr as GraderRerunTimeoutError, St as OrganizationMember, T as ReseedOptions, Ti as Justification, Tn as SaveAssertion, Tr as RemoveDatasetTracesResult, Tt as BitfabAgentMiddleware, U as BitfabOpenAITracingProcessor, Un as TraceAssertionSource, Ur as SaveAssertionCategoryParams, Ut as AssertionVerdict, V as CaptureSurface, Vn as ScenarioTrigger, Vr as Category, Vt as ArchiveLabelTarget, W as TraceResponse, Wn as TraceAssertionsResult, Wr as SaveCategoryParams, Wt as HumanLabelOutcome, X as SpansClient, Xn as TraceTargetOccurrence, Xr as SpanType, Xt as LabelOutcome, Y as SpanListResult, Yn as TraceTarget, Yr as SpanOccurrence, Yt as LabelConfidence, Z as BitfabRivetIntegration, Zn as TracesClient, Zr as TokenUsage, Zt as LabelSource, _ as BitfabConfig, _i as SelectiveReplayReport, _n as AssertionGenerationError, _r as GraderRerun, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as NO_MOCK_OVERRIDE, an as Verdict, ar as ExperimentRunBy, at as DbBranchOptions, b as CurrentSpan, bi as ProviderDefinition, bn as AssertionLabelEvidence, br as GraderRerunResult, bt as ReplayInterrupt, c as SeedResult, ci as BitfabError, cn as VerdictOutcome, cr as ExperimentTotals, ct as ReplayError, d as seedFromRegistry, di as DbSnapshotProvider, dn as VerdictTarget, dr as AddDatasetGradersResult, dt as ReplayItemFinishProgress, ei as MockOverride, en as LabelUpdate, er as ExperimentCodeChangeTotals, et as RivetIntegrationOptions, f as finalizers, fi as DbSnapshotRef, fn as VerdictUpdate, fr as AddDatasetTracesResult, ft as ReplayItemStartProgress, g as Bitfab, gi as SelectiveReplayOptions, gn as AssertionGeneration, gr as DatasetsClient, gt as ReplayResult, h as CommitRef, hi as SelectiveReplayDecision, hn as AssertionEvidenceParameter, hr as DatasetTraceIds, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as MockValue, in as TraceVerdicts, ir as ExperimentRollupResult, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, jn as SaveScenarioParams, jr as BitfabLanguageModelMiddleware, jt as GetGraderVerdictsParams, k as SpanMethodDecorator, kn as SaveScenarioData, kr as SaveDatasetResult, kt as BitfabLangGraphCallbackHandler, l as defineReplayRegistry, li as MixedTracingError, ln as VerdictSource, lr as ExperimentsClient, lt as ReplayExperiment, m as __version__, mi as ReplayNodeIdentity, mn as ArchiveAssertionsParams, mr as DatasetGraderRef, mt as ReplayProgress, n as ReplayRegistration, ni as MockOverrideInput, nn as PassFailVerdict, nr as ExperimentPage, nt as AdaptContext, o as ReseedRegistryResult, oi as NodeMatcher, on as VerdictAction, or as ExperimentStatus, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as SUPPORTED_PROVIDERS, pn as VerdictsClient, pr as Dataset, pt as ReplayOptions, q as SpanListField, qn as TraceSearchParams, qr as HttpClient, qt as HumanVerdictUpdate, r as ReplayRegistry, ri as MockOverrideResolver, rn as TraceLabels, rr as ExperimentRollup, rt as AdaptInputsFn, s as SeedCase, si as SpanNodeMeta, sn as VerdictConfidence, sr as ExperimentTally, st as MockStrategy, t as ReplayOptionsFactory, ti as MockOverrideCtx, tn as LabelsClient, tr as ExperimentJitter, tt as ReplayBranch, u as reseedFromRegistry, ui as DbSnapshotConfig, un as VerdictStatus, ur as ListExperimentsParams, ut as ReplayItem, v as BitfabFunction, vi as AllowedEnvVars, vn as AssertionGenerationStatus, vr as GraderRerunError, vt as reportReplayProgress, w as NodeOptions, wi as Assignee, wn as GenerateAssertionsOptions, wr as RemoveDatasetGradersResult, wt as BitfabOpenAIAgentHandler, x as CurrentTrace, xi as ApprovalFields, xn as AssertionRewrite, xr as GraderRerunStatus, xt as ReplayInterruptSignal, y as CaptureWhen, yi as BamlExecutionResult, yn as AssertionGenerationTimeoutError, yr as GraderRerunProgress, yt as serializeReplayResult, z as getCurrentSpan, zn as ScenarioHistoryEntry, zr as AssertionCategorySummary, zt as GraderVerdictUpdate } from "./index-DMJ6qrtL.js";
2
- export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioHistoryEntry, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type 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 TraceTargetOccurrence, $r as SpanType, $t as LabelTarget, A as SpanMethodDecoratorContext, An as SaveScenarioHistoryEntry, Ar as RerunGradersResult, At as GetGraderLabelsParams, B as getCurrentTrace, Bn as ScenarioHistoryEntry, Br as AssertionCategoriesClient, Bt as GradersClient, C as NodeMethodDecorator, Ci as ProviderDefinition, Cn as AssertionVerdictEvidence, Cr as GraderRerunResult, Ct as OrganizationMembersClient, D as SeedCaseOptions, Di as Assignee, Dn as SaveAssertionsParams, Dr as RemoveDatasetGradersResult, Dt as BitfabLangGraphIntegration, E as ReseedResult, Ei as Approver, En as SaveAssertionsAllParams, Er as ListDatasetsParams, Et as BitfabLangGraphAgent, F as WrapOpenAIResponsesOptions, Fn as ScenarioActualOutcome, Fr as BitfabVercelAiHandler, Ft as GraderLabelUpdate, G as TracingProcessor, Gn as TraceAssertion, Gr as CategorySummary, Gt as HumanLabelUpdate, H as ActiveSpanContext, Hn as ScenarioRecordInput, Hr as AssertionCategorySummary, Ht as ArchiveVerdictTarget, I as WrapOpenRouterOptions, In as ScenarioData, Ir as VercelCallParams, It as GraderVerdict, J as SpanListParams, Jn as TraceAssertionsUpdate, Jr as CapturedSpan, Jt as LabelAction, K as ListedSpan, Kn as TraceAssertionSource, Kr as SaveAssertionCategoryParams, Kt as HumanVerdictOutcome, L as WrappedBamlFn, Ln as ScenarioDataAppend, Lr as VercelGenerateResult, Lt as GraderVerdictOutcome, M as WrapAnthropicOptions, Mn as SavedTraceAssertion, Mr as SaveDatasetResult, Mt as GraderLabel, N as WrapBAMLOptions, Nn as Scenario, Nr as UpdateDatasetParams, Nt as GraderLabelOutcome, O as SeedRunOptions, Oi as Justification, On as SaveScenarioActualOutcome, Or as RemoveDatasetTracesResult, Ot as LangGraphIntegrationOptions, P as WrapJevOptions, Pn as ScenarioAction, Pr as BitfabLanguageModelMiddleware, Pt as GraderLabelSource, Q as RivetContextLike, Qn as TraceTarget, Qr as SpanOccurrence, Qt as LabelStatus, R as getCurrentReplayBranch, Rn as ScenarioDataOrigin, Rr as VercelStreamResult, Rt as GraderVerdictSource, S as DetachedTrace, Si as BamlExecutionResult, Sn as AssertionRewriteStatus, Sr as GraderRerunProgress, St as OrganizationMember, T as ReseedOptions, Ti as ApprovalState, Tn as SaveAssertion, Tr as GraderRerunTimeoutError, Tt as BitfabAgentMiddleware, U as BitfabOpenAITracingProcessor, Un as ScenarioSource, Ur as CategoriesClient, Ut as AssertionVerdict, V as CaptureSurface, Vn as ScenarioRecord, Vr as AssertionCategory, Vt as ArchiveLabelTarget, W as TraceResponse, Wn as ScenarioTrigger, Wr as Category, Wt as HumanLabelOutcome, X as SpansClient, Xn as TraceSearchParams, Xr as HttpClient, Xt as LabelOutcome, Y as SpanListResult, Yn as TraceSearchFilters, Yr as CodeChangeFile, Yt as LabelConfidence, Z as BitfabRivetIntegration, Zn as TraceSearchResult, Zr as SpanLookup, Zt as LabelSource, _ as BitfabConfig, _i as ReplayNodeIdentity, _n as AssertionGenerationError, _r as DatasetGraderRef, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as MockOverrideInput, an as Verdict, ar as ExperimentPage, at as DbBranchOptions, b as CurrentSpan, bi as SelectiveReplayReport, bn as AssertionLabelEvidence, br as GraderRerun, bt as ReplayInterrupt, c as SeedResult, ci as NO_MOCK_OVERRIDE, cn as VerdictOutcome, cr as ExperimentRunBy, ct as ReplayError, d as seedFromRegistry, di as BitfabError, dn as VerdictTarget, dr as ExperimentTotals, dt as ReplayItemFinishProgress, ei as TokenUsage, en as LabelUpdate, er as TracesClient, et as RivetIntegrationOptions, f as finalizers, fi as MixedTracingError, fn as VerdictUpdate, fr as ExperimentsClient, ft as ReplayItemStartProgress, g as Bitfab, gi as SUPPORTED_PROVIDERS, gn as AssertionGeneration, gr as Dataset, gt as ReplayResult, h as CommitRef, hi as DbSnapshotRef, hn as AssertionEvidenceParameter, hr as AddDatasetTracesResult, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as MockOverrideCtx, in as TraceVerdicts, ir as ExperimentJitter, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, jn as SaveScenarioParams, jr as SaveDatasetParams, jt as GetGraderVerdictsParams, k as SpanMethodDecorator, ki as JustificationSpan, kn as SaveScenarioData, kr as RerunGradersOptions, kt as BitfabLangGraphCallbackHandler, l as defineReplayRegistry, li as NodeMatcher, ln as VerdictSource, lr as ExperimentStatus, lt as ReplayExperiment, m as __version__, mi as DbSnapshotProvider, mn as ArchiveAssertionsParams, mr as AddDatasetGradersResult, mt as ReplayProgress, n as ReplayRegistration, ni as DbBranchTimings, nn as PassFailVerdict, nr as ExperimentCategoryTally, nt as AdaptContext, o as ReseedRegistryResult, oi as MockOverrideResolver, on as VerdictAction, or as ExperimentRollup, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as DbSnapshotConfig, pn as VerdictsClient, pr as ListExperimentsParams, pt as ReplayOptions, q as SpanListField, qn as TraceAssertionsResult, qr as SaveCategoryParams, qt as HumanVerdictUpdate, r as ReplayRegistry, ri as MockOverride, rn as TraceLabels, rr as ExperimentCodeChangeTotals, rt as AdaptInputsFn, s as SeedCase, si as MockValue, sn as VerdictConfidence, sr as ExperimentRollupResult, st as MockStrategy, t as ReplayOptionsFactory, ti as flushTraces, tn as LabelsClient, tr as Experiment, tt as ReplayBranch, u as reseedFromRegistry, ui as SpanNodeMeta, un as VerdictStatus, ur as ExperimentTally, ut as ReplayItem, v as BitfabFunction, vi as SelectiveReplayDecision, vn as AssertionGenerationStatus, vr as DatasetTraceIds, vt as reportReplayProgress, w as NodeOptions, wi as ApprovalFields, wn as GenerateAssertionsOptions, wr as GraderRerunStatus, wt as BitfabOpenAIAgentHandler, x as CurrentTrace, xi as AllowedEnvVars, xn as AssertionRewrite, xr as GraderRerunError, xt as ReplayInterruptSignal, y as CaptureWhen, yi as SelectiveReplayOptions, yn as AssertionGenerationTimeoutError, yr as DatasetsClient, yt as serializeReplayResult, z as getCurrentSpan, zn as ScenarioDataSources, zr as BitfabClaudeAgentHandler, zt as GraderVerdictUpdate } from "./index-BuP59-AI.js";
2
+ export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/index.js CHANGED
@@ -7,6 +7,6 @@ if (typeof globalThis.__bitfab_deprecation_warned === "undefined") {
7
7
  "The bitfab package will stop receiving updates in a future release."
8
8
  );
9
9
  }
10
- import { A as ExperimentsClient, C as BitfabOpenAIAgentHandler, D as GradersClient, E as BitfabLangGraphCallbackHandler, F as BitfabClaudeAgentHandler, I as DEFAULT_SERVICE_URL, L as AssertionCategoriesClient, M as DatasetsClient, N as GraderRerunError, O as LabelsClient, P as GraderRerunTimeoutError, R as CategoriesClient, S as OrganizationMembersClient, T as BitfabLangGraphIntegration, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as SUPPORTED_PROVIDERS, k as VerdictsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as NO_MOCK_OVERRIDE, x as serializeReplayResult, y as ReplayError } from "./src-DvVk1aLi.js";
11
- import { S as MixedTracingError, i as flushTraces, t as HttpClient, w as __version__, x as BitfabError } from "./http-CDqaLdge.js";
10
+ import { A as ExperimentsClient, C as BitfabOpenAIAgentHandler, D as GradersClient, E as BitfabLangGraphCallbackHandler, F as BitfabClaudeAgentHandler, I as DEFAULT_SERVICE_URL, L as AssertionCategoriesClient, M as DatasetsClient, N as GraderRerunError, O as LabelsClient, P as GraderRerunTimeoutError, R as CategoriesClient, S as OrganizationMembersClient, T as BitfabLangGraphIntegration, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as SUPPORTED_PROVIDERS, k as VerdictsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as NO_MOCK_OVERRIDE, x as serializeReplayResult, y as ReplayError } from "./src-DgeGOhjN.js";
11
+ import { S as MixedTracingError, i as flushTraces, t as HttpClient, w as __version__, x as BitfabError } from "./http-CYIjoMdj.js";
12
12
  export { AssertionCategoriesClient, AssertionGenerationError, AssertionGenerationTimeoutError, BITFAB_PROGRESS_PREFIX, Bitfab, BitfabClaudeAgentHandler, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, CategoriesClient, DEFAULT_SERVICE_URL, DatasetsClient, DbBranchReplayError, ExperimentsClient, GraderRerunError, GraderRerunTimeoutError, GradersClient, HttpClient, LabelsClient, MixedTracingError, NO_MOCK_OVERRIDE, OrganizationMembersClient, ReplayError, SUPPORTED_PROVIDERS, SpansClient, TracesClient, VerdictsClient, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/node.cjs CHANGED
@@ -11,8 +11,8 @@ Object.defineProperties(exports, {
11
11
  __esModule: { value: true },
12
12
  [Symbol.toStringTag]: { value: "Module" }
13
13
  });
14
- const require_src = require("./src-CxELko3f.cjs");
15
- const require_http = require("./http-DFqFW_hG.cjs");
14
+ const require_src = require("./src-C3H1v_hp.cjs");
15
+ const require_http = require("./http-CARmid5D.cjs");
16
16
  const require_autoTrace = require("./autoTrace-DUmR1KJ8.cjs");
17
17
  let async_hooks = require("async_hooks");
18
18
  //#region src/asyncStorageNode.ts
package/dist/node.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as RivetEffectType, $n as ExperimentCategoryTally, $r as DbBranchTimings, $t as LabelTarget, A as SpanMethodDecoratorContext, An as SaveScenarioHistoryEntry, Ar as UpdateDatasetParams, At as GetGraderLabelsParams, B as getCurrentTrace, Bn as ScenarioSource, Br as CategoriesClient, Bt as GradersClient, C as NodeMethodDecorator, Ci as Approver, Cn as AssertionVerdictEvidence, Cr as ListDatasetsParams, Ct as OrganizationMembersClient, D as SeedCaseOptions, Dn as SaveAssertionsParams, Dr as RerunGradersResult, Dt as BitfabLangGraphIntegration, E as ReseedResult, Ei as JustificationSpan, En as SaveAssertionsAllParams, Er as RerunGradersOptions, Et as BitfabLangGraphAgent, F as WrapOpenAIResponsesOptions, Fn as ScenarioActualOutcome, Fr as VercelStreamResult, Ft as GraderLabelUpdate, G as TracingProcessor, Gn as TraceAssertionsUpdate, Gr as CapturedSpan, Gt as HumanLabelUpdate, H as ActiveSpanContext, Hn as TraceAssertion, Hr as CategorySummary, Ht as ArchiveVerdictTarget, I as WrapOpenRouterOptions, In as ScenarioData, Ir as BitfabClaudeAgentHandler, It as GraderVerdict, J as SpanListParams, Jn as TraceSearchResult, Jr as SpanLookup, Jt as LabelAction, K as ListedSpan, Kn as TraceSearchFilters, Kr as CodeChangeFile, Kt as HumanVerdictOutcome, L as WrappedBamlFn, Ln as ScenarioDataAppend, Lr as AssertionCategoriesClient, Lt as GraderVerdictOutcome, M as WrapAnthropicOptions, Mn as SavedTraceAssertion, Mr as BitfabVercelAiHandler, Mt as GraderLabel, N as WrapBAMLOptions, Nn as Scenario, Nr as VercelCallParams, Nt as GraderLabelOutcome, O as SeedRunOptions, On as SaveScenarioActualOutcome, Or as SaveDatasetParams, Ot as LangGraphIntegrationOptions, P as WrapJevOptions, Pn as ScenarioAction, Pr as VercelGenerateResult, Pt as GraderLabelSource, Q as RivetContextLike, Qn as Experiment, Qr as flushTraces, Qt as LabelStatus, R as getCurrentReplayBranch, Rn as ScenarioDataOrigin, Rr as AssertionCategory, Rt as GraderVerdictSource, S as DetachedTrace, Si as ApprovalState, Sn as AssertionRewriteStatus, Sr as GraderRerunTimeoutError, St as OrganizationMember, T as ReseedOptions, Ti as Justification, Tn as SaveAssertion, Tr as RemoveDatasetTracesResult, Tt as BitfabAgentMiddleware, U as BitfabOpenAITracingProcessor, Un as TraceAssertionSource, Ur as SaveAssertionCategoryParams, Ut as AssertionVerdict, V as CaptureSurface, Vn as ScenarioTrigger, Vr as Category, Vt as ArchiveLabelTarget, W as TraceResponse, Wn as TraceAssertionsResult, Wr as SaveCategoryParams, Wt as HumanLabelOutcome, X as SpansClient, Xn as TraceTargetOccurrence, Xr as SpanType, Xt as LabelOutcome, Y as SpanListResult, Yn as TraceTarget, Yr as SpanOccurrence, Yt as LabelConfidence, Z as BitfabRivetIntegration, Zn as TracesClient, Zr as TokenUsage, Zt as LabelSource, _ as BitfabConfig, _i as SelectiveReplayReport, _n as AssertionGenerationError, _r as GraderRerun, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as NO_MOCK_OVERRIDE, an as Verdict, ar as ExperimentRunBy, at as DbBranchOptions, b as CurrentSpan, bi as ProviderDefinition, bn as AssertionLabelEvidence, br as GraderRerunResult, bt as ReplayInterrupt, c as SeedResult, ci as BitfabError, cn as VerdictOutcome, cr as ExperimentTotals, ct as ReplayError, d as seedFromRegistry, di as DbSnapshotProvider, dn as VerdictTarget, dr as AddDatasetGradersResult, dt as ReplayItemFinishProgress, ei as MockOverride, en as LabelUpdate, er as ExperimentCodeChangeTotals, et as RivetIntegrationOptions, f as finalizers, fi as DbSnapshotRef, fn as VerdictUpdate, fr as AddDatasetTracesResult, ft as ReplayItemStartProgress, g as Bitfab, gi as SelectiveReplayOptions, gn as AssertionGeneration, gr as DatasetsClient, gt as ReplayResult, h as CommitRef, hi as SelectiveReplayDecision, hn as AssertionEvidenceParameter, hr as DatasetTraceIds, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as MockValue, in as TraceVerdicts, ir as ExperimentRollupResult, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, jn as SaveScenarioParams, jr as BitfabLanguageModelMiddleware, jt as GetGraderVerdictsParams, k as SpanMethodDecorator, kn as SaveScenarioData, kr as SaveDatasetResult, kt as BitfabLangGraphCallbackHandler, l as defineReplayRegistry, li as MixedTracingError, ln as VerdictSource, lr as ExperimentsClient, lt as ReplayExperiment, m as __version__, mi as ReplayNodeIdentity, mn as ArchiveAssertionsParams, mr as DatasetGraderRef, mt as ReplayProgress, n as ReplayRegistration, ni as MockOverrideInput, nn as PassFailVerdict, nr as ExperimentPage, nt as AdaptContext, o as ReseedRegistryResult, oi as NodeMatcher, on as VerdictAction, or as ExperimentStatus, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as SUPPORTED_PROVIDERS, pn as VerdictsClient, pr as Dataset, pt as ReplayOptions, q as SpanListField, qn as TraceSearchParams, qr as HttpClient, qt as HumanVerdictUpdate, r as ReplayRegistry, ri as MockOverrideResolver, rn as TraceLabels, rr as ExperimentRollup, rt as AdaptInputsFn, s as SeedCase, si as SpanNodeMeta, sn as VerdictConfidence, sr as ExperimentTally, st as MockStrategy, t as ReplayOptionsFactory, ti as MockOverrideCtx, tn as LabelsClient, tr as ExperimentJitter, tt as ReplayBranch, u as reseedFromRegistry, ui as DbSnapshotConfig, un as VerdictStatus, ur as ListExperimentsParams, ut as ReplayItem, v as BitfabFunction, vi as AllowedEnvVars, vn as AssertionGenerationStatus, vr as GraderRerunError, vt as reportReplayProgress, w as NodeOptions, wi as Assignee, wn as GenerateAssertionsOptions, wr as RemoveDatasetGradersResult, wt as BitfabOpenAIAgentHandler, x as CurrentTrace, xi as ApprovalFields, xn as AssertionRewrite, xr as GraderRerunStatus, xt as ReplayInterruptSignal, y as CaptureWhen, yi as BamlExecutionResult, yn as AssertionGenerationTimeoutError, yr as GraderRerunProgress, yt as serializeReplayResult, z as getCurrentSpan, zn as ScenarioHistoryEntry, zr as AssertionCategorySummary, zt as GraderVerdictUpdate } from "./index-DMJ6qrtL.cjs";
2
- export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioHistoryEntry, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type 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 TraceTargetOccurrence, $r as SpanType, $t as LabelTarget, A as SpanMethodDecoratorContext, An as SaveScenarioHistoryEntry, Ar as RerunGradersResult, At as GetGraderLabelsParams, B as getCurrentTrace, Bn as ScenarioHistoryEntry, Br as AssertionCategoriesClient, Bt as GradersClient, C as NodeMethodDecorator, Ci as ProviderDefinition, Cn as AssertionVerdictEvidence, Cr as GraderRerunResult, Ct as OrganizationMembersClient, D as SeedCaseOptions, Di as Assignee, Dn as SaveAssertionsParams, Dr as RemoveDatasetGradersResult, Dt as BitfabLangGraphIntegration, E as ReseedResult, Ei as Approver, En as SaveAssertionsAllParams, Er as ListDatasetsParams, Et as BitfabLangGraphAgent, F as WrapOpenAIResponsesOptions, Fn as ScenarioActualOutcome, Fr as BitfabVercelAiHandler, Ft as GraderLabelUpdate, G as TracingProcessor, Gn as TraceAssertion, Gr as CategorySummary, Gt as HumanLabelUpdate, H as ActiveSpanContext, Hn as ScenarioRecordInput, Hr as AssertionCategorySummary, Ht as ArchiveVerdictTarget, I as WrapOpenRouterOptions, In as ScenarioData, Ir as VercelCallParams, It as GraderVerdict, J as SpanListParams, Jn as TraceAssertionsUpdate, Jr as CapturedSpan, Jt as LabelAction, K as ListedSpan, Kn as TraceAssertionSource, Kr as SaveAssertionCategoryParams, Kt as HumanVerdictOutcome, L as WrappedBamlFn, Ln as ScenarioDataAppend, Lr as VercelGenerateResult, Lt as GraderVerdictOutcome, M as WrapAnthropicOptions, Mn as SavedTraceAssertion, Mr as SaveDatasetResult, Mt as GraderLabel, N as WrapBAMLOptions, Nn as Scenario, Nr as UpdateDatasetParams, Nt as GraderLabelOutcome, O as SeedRunOptions, Oi as Justification, On as SaveScenarioActualOutcome, Or as RemoveDatasetTracesResult, Ot as LangGraphIntegrationOptions, P as WrapJevOptions, Pn as ScenarioAction, Pr as BitfabLanguageModelMiddleware, Pt as GraderLabelSource, Q as RivetContextLike, Qn as TraceTarget, Qr as SpanOccurrence, Qt as LabelStatus, R as getCurrentReplayBranch, Rn as ScenarioDataOrigin, Rr as VercelStreamResult, Rt as GraderVerdictSource, S as DetachedTrace, Si as BamlExecutionResult, Sn as AssertionRewriteStatus, Sr as GraderRerunProgress, St as OrganizationMember, T as ReseedOptions, Ti as ApprovalState, Tn as SaveAssertion, Tr as GraderRerunTimeoutError, Tt as BitfabAgentMiddleware, U as BitfabOpenAITracingProcessor, Un as ScenarioSource, Ur as CategoriesClient, Ut as AssertionVerdict, V as CaptureSurface, Vn as ScenarioRecord, Vr as AssertionCategory, Vt as ArchiveLabelTarget, W as TraceResponse, Wn as ScenarioTrigger, Wr as Category, Wt as HumanLabelOutcome, X as SpansClient, Xn as TraceSearchParams, Xr as HttpClient, Xt as LabelOutcome, Y as SpanListResult, Yn as TraceSearchFilters, Yr as CodeChangeFile, Yt as LabelConfidence, Z as BitfabRivetIntegration, Zn as TraceSearchResult, Zr as SpanLookup, Zt as LabelSource, _ as BitfabConfig, _i as ReplayNodeIdentity, _n as AssertionGenerationError, _r as DatasetGraderRef, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as MockOverrideInput, an as Verdict, ar as ExperimentPage, at as DbBranchOptions, b as CurrentSpan, bi as SelectiveReplayReport, bn as AssertionLabelEvidence, br as GraderRerun, bt as ReplayInterrupt, c as SeedResult, ci as NO_MOCK_OVERRIDE, cn as VerdictOutcome, cr as ExperimentRunBy, ct as ReplayError, d as seedFromRegistry, di as BitfabError, dn as VerdictTarget, dr as ExperimentTotals, dt as ReplayItemFinishProgress, ei as TokenUsage, en as LabelUpdate, er as TracesClient, et as RivetIntegrationOptions, f as finalizers, fi as MixedTracingError, fn as VerdictUpdate, fr as ExperimentsClient, ft as ReplayItemStartProgress, g as Bitfab, gi as SUPPORTED_PROVIDERS, gn as AssertionGeneration, gr as Dataset, gt as ReplayResult, h as CommitRef, hi as DbSnapshotRef, hn as AssertionEvidenceParameter, hr as AddDatasetTracesResult, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as MockOverrideCtx, in as TraceVerdicts, ir as ExperimentJitter, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, jn as SaveScenarioParams, jr as SaveDatasetParams, jt as GetGraderVerdictsParams, k as SpanMethodDecorator, ki as JustificationSpan, kn as SaveScenarioData, kr as RerunGradersOptions, kt as BitfabLangGraphCallbackHandler, l as defineReplayRegistry, li as NodeMatcher, ln as VerdictSource, lr as ExperimentStatus, lt as ReplayExperiment, m as __version__, mi as DbSnapshotProvider, mn as ArchiveAssertionsParams, mr as AddDatasetGradersResult, mt as ReplayProgress, n as ReplayRegistration, ni as DbBranchTimings, nn as PassFailVerdict, nr as ExperimentCategoryTally, nt as AdaptContext, o as ReseedRegistryResult, oi as MockOverrideResolver, on as VerdictAction, or as ExperimentRollup, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as DbSnapshotConfig, pn as VerdictsClient, pr as ListExperimentsParams, pt as ReplayOptions, q as SpanListField, qn as TraceAssertionsResult, qr as SaveCategoryParams, qt as HumanVerdictUpdate, r as ReplayRegistry, ri as MockOverride, rn as TraceLabels, rr as ExperimentCodeChangeTotals, rt as AdaptInputsFn, s as SeedCase, si as MockValue, sn as VerdictConfidence, sr as ExperimentRollupResult, st as MockStrategy, t as ReplayOptionsFactory, ti as flushTraces, tn as LabelsClient, tr as Experiment, tt as ReplayBranch, u as reseedFromRegistry, ui as SpanNodeMeta, un as VerdictStatus, ur as ExperimentTally, ut as ReplayItem, v as BitfabFunction, vi as SelectiveReplayDecision, vn as AssertionGenerationStatus, vr as DatasetTraceIds, vt as reportReplayProgress, w as NodeOptions, wi as ApprovalFields, wn as GenerateAssertionsOptions, wr as GraderRerunStatus, wt as BitfabOpenAIAgentHandler, x as CurrentTrace, xi as AllowedEnvVars, xn as AssertionRewrite, xr as GraderRerunError, xt as ReplayInterruptSignal, y as CaptureWhen, yi as SelectiveReplayOptions, yn as AssertionGenerationTimeoutError, yr as DatasetsClient, yt as serializeReplayResult, z as getCurrentSpan, zn as ScenarioDataSources, zr as BitfabClaudeAgentHandler, zt as GraderVerdictUpdate } from "./index-BuP59-AI.cjs";
2
+ export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/node.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as RivetEffectType, $n as ExperimentCategoryTally, $r as DbBranchTimings, $t as LabelTarget, A as SpanMethodDecoratorContext, An as SaveScenarioHistoryEntry, Ar as UpdateDatasetParams, At as GetGraderLabelsParams, B as getCurrentTrace, Bn as ScenarioSource, Br as CategoriesClient, Bt as GradersClient, C as NodeMethodDecorator, Ci as Approver, Cn as AssertionVerdictEvidence, Cr as ListDatasetsParams, Ct as OrganizationMembersClient, D as SeedCaseOptions, Dn as SaveAssertionsParams, Dr as RerunGradersResult, Dt as BitfabLangGraphIntegration, E as ReseedResult, Ei as JustificationSpan, En as SaveAssertionsAllParams, Er as RerunGradersOptions, Et as BitfabLangGraphAgent, F as WrapOpenAIResponsesOptions, Fn as ScenarioActualOutcome, Fr as VercelStreamResult, Ft as GraderLabelUpdate, G as TracingProcessor, Gn as TraceAssertionsUpdate, Gr as CapturedSpan, Gt as HumanLabelUpdate, H as ActiveSpanContext, Hn as TraceAssertion, Hr as CategorySummary, Ht as ArchiveVerdictTarget, I as WrapOpenRouterOptions, In as ScenarioData, Ir as BitfabClaudeAgentHandler, It as GraderVerdict, J as SpanListParams, Jn as TraceSearchResult, Jr as SpanLookup, Jt as LabelAction, K as ListedSpan, Kn as TraceSearchFilters, Kr as CodeChangeFile, Kt as HumanVerdictOutcome, L as WrappedBamlFn, Ln as ScenarioDataAppend, Lr as AssertionCategoriesClient, Lt as GraderVerdictOutcome, M as WrapAnthropicOptions, Mn as SavedTraceAssertion, Mr as BitfabVercelAiHandler, Mt as GraderLabel, N as WrapBAMLOptions, Nn as Scenario, Nr as VercelCallParams, Nt as GraderLabelOutcome, O as SeedRunOptions, On as SaveScenarioActualOutcome, Or as SaveDatasetParams, Ot as LangGraphIntegrationOptions, P as WrapJevOptions, Pn as ScenarioAction, Pr as VercelGenerateResult, Pt as GraderLabelSource, Q as RivetContextLike, Qn as Experiment, Qr as flushTraces, Qt as LabelStatus, R as getCurrentReplayBranch, Rn as ScenarioDataOrigin, Rr as AssertionCategory, Rt as GraderVerdictSource, S as DetachedTrace, Si as ApprovalState, Sn as AssertionRewriteStatus, Sr as GraderRerunTimeoutError, St as OrganizationMember, T as ReseedOptions, Ti as Justification, Tn as SaveAssertion, Tr as RemoveDatasetTracesResult, Tt as BitfabAgentMiddleware, U as BitfabOpenAITracingProcessor, Un as TraceAssertionSource, Ur as SaveAssertionCategoryParams, Ut as AssertionVerdict, V as CaptureSurface, Vn as ScenarioTrigger, Vr as Category, Vt as ArchiveLabelTarget, W as TraceResponse, Wn as TraceAssertionsResult, Wr as SaveCategoryParams, Wt as HumanLabelOutcome, X as SpansClient, Xn as TraceTargetOccurrence, Xr as SpanType, Xt as LabelOutcome, Y as SpanListResult, Yn as TraceTarget, Yr as SpanOccurrence, Yt as LabelConfidence, Z as BitfabRivetIntegration, Zn as TracesClient, Zr as TokenUsage, Zt as LabelSource, _ as BitfabConfig, _i as SelectiveReplayReport, _n as AssertionGenerationError, _r as GraderRerun, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as NO_MOCK_OVERRIDE, an as Verdict, ar as ExperimentRunBy, at as DbBranchOptions, b as CurrentSpan, bi as ProviderDefinition, bn as AssertionLabelEvidence, br as GraderRerunResult, bt as ReplayInterrupt, c as SeedResult, ci as BitfabError, cn as VerdictOutcome, cr as ExperimentTotals, ct as ReplayError, d as seedFromRegistry, di as DbSnapshotProvider, dn as VerdictTarget, dr as AddDatasetGradersResult, dt as ReplayItemFinishProgress, ei as MockOverride, en as LabelUpdate, er as ExperimentCodeChangeTotals, et as RivetIntegrationOptions, f as finalizers, fi as DbSnapshotRef, fn as VerdictUpdate, fr as AddDatasetTracesResult, ft as ReplayItemStartProgress, g as Bitfab, gi as SelectiveReplayOptions, gn as AssertionGeneration, gr as DatasetsClient, gt as ReplayResult, h as CommitRef, hi as SelectiveReplayDecision, hn as AssertionEvidenceParameter, hr as DatasetTraceIds, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as MockValue, in as TraceVerdicts, ir as ExperimentRollupResult, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, jn as SaveScenarioParams, jr as BitfabLanguageModelMiddleware, jt as GetGraderVerdictsParams, k as SpanMethodDecorator, kn as SaveScenarioData, kr as SaveDatasetResult, kt as BitfabLangGraphCallbackHandler, l as defineReplayRegistry, li as MixedTracingError, ln as VerdictSource, lr as ExperimentsClient, lt as ReplayExperiment, m as __version__, mi as ReplayNodeIdentity, mn as ArchiveAssertionsParams, mr as DatasetGraderRef, mt as ReplayProgress, n as ReplayRegistration, ni as MockOverrideInput, nn as PassFailVerdict, nr as ExperimentPage, nt as AdaptContext, o as ReseedRegistryResult, oi as NodeMatcher, on as VerdictAction, or as ExperimentStatus, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as SUPPORTED_PROVIDERS, pn as VerdictsClient, pr as Dataset, pt as ReplayOptions, q as SpanListField, qn as TraceSearchParams, qr as HttpClient, qt as HumanVerdictUpdate, r as ReplayRegistry, ri as MockOverrideResolver, rn as TraceLabels, rr as ExperimentRollup, rt as AdaptInputsFn, s as SeedCase, si as SpanNodeMeta, sn as VerdictConfidence, sr as ExperimentTally, st as MockStrategy, t as ReplayOptionsFactory, ti as MockOverrideCtx, tn as LabelsClient, tr as ExperimentJitter, tt as ReplayBranch, u as reseedFromRegistry, ui as DbSnapshotConfig, un as VerdictStatus, ur as ListExperimentsParams, ut as ReplayItem, v as BitfabFunction, vi as AllowedEnvVars, vn as AssertionGenerationStatus, vr as GraderRerunError, vt as reportReplayProgress, w as NodeOptions, wi as Assignee, wn as GenerateAssertionsOptions, wr as RemoveDatasetGradersResult, wt as BitfabOpenAIAgentHandler, x as CurrentTrace, xi as ApprovalFields, xn as AssertionRewrite, xr as GraderRerunStatus, xt as ReplayInterruptSignal, y as CaptureWhen, yi as BamlExecutionResult, yn as AssertionGenerationTimeoutError, yr as GraderRerunProgress, yt as serializeReplayResult, z as getCurrentSpan, zn as ScenarioHistoryEntry, zr as AssertionCategorySummary, zt as GraderVerdictUpdate } from "./index-DMJ6qrtL.js";
2
- export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioHistoryEntry, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type 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 TraceTargetOccurrence, $r as SpanType, $t as LabelTarget, A as SpanMethodDecoratorContext, An as SaveScenarioHistoryEntry, Ar as RerunGradersResult, At as GetGraderLabelsParams, B as getCurrentTrace, Bn as ScenarioHistoryEntry, Br as AssertionCategoriesClient, Bt as GradersClient, C as NodeMethodDecorator, Ci as ProviderDefinition, Cn as AssertionVerdictEvidence, Cr as GraderRerunResult, Ct as OrganizationMembersClient, D as SeedCaseOptions, Di as Assignee, Dn as SaveAssertionsParams, Dr as RemoveDatasetGradersResult, Dt as BitfabLangGraphIntegration, E as ReseedResult, Ei as Approver, En as SaveAssertionsAllParams, Er as ListDatasetsParams, Et as BitfabLangGraphAgent, F as WrapOpenAIResponsesOptions, Fn as ScenarioActualOutcome, Fr as BitfabVercelAiHandler, Ft as GraderLabelUpdate, G as TracingProcessor, Gn as TraceAssertion, Gr as CategorySummary, Gt as HumanLabelUpdate, H as ActiveSpanContext, Hn as ScenarioRecordInput, Hr as AssertionCategorySummary, Ht as ArchiveVerdictTarget, I as WrapOpenRouterOptions, In as ScenarioData, Ir as VercelCallParams, It as GraderVerdict, J as SpanListParams, Jn as TraceAssertionsUpdate, Jr as CapturedSpan, Jt as LabelAction, K as ListedSpan, Kn as TraceAssertionSource, Kr as SaveAssertionCategoryParams, Kt as HumanVerdictOutcome, L as WrappedBamlFn, Ln as ScenarioDataAppend, Lr as VercelGenerateResult, Lt as GraderVerdictOutcome, M as WrapAnthropicOptions, Mn as SavedTraceAssertion, Mr as SaveDatasetResult, Mt as GraderLabel, N as WrapBAMLOptions, Nn as Scenario, Nr as UpdateDatasetParams, Nt as GraderLabelOutcome, O as SeedRunOptions, Oi as Justification, On as SaveScenarioActualOutcome, Or as RemoveDatasetTracesResult, Ot as LangGraphIntegrationOptions, P as WrapJevOptions, Pn as ScenarioAction, Pr as BitfabLanguageModelMiddleware, Pt as GraderLabelSource, Q as RivetContextLike, Qn as TraceTarget, Qr as SpanOccurrence, Qt as LabelStatus, R as getCurrentReplayBranch, Rn as ScenarioDataOrigin, Rr as VercelStreamResult, Rt as GraderVerdictSource, S as DetachedTrace, Si as BamlExecutionResult, Sn as AssertionRewriteStatus, Sr as GraderRerunProgress, St as OrganizationMember, T as ReseedOptions, Ti as ApprovalState, Tn as SaveAssertion, Tr as GraderRerunTimeoutError, Tt as BitfabAgentMiddleware, U as BitfabOpenAITracingProcessor, Un as ScenarioSource, Ur as CategoriesClient, Ut as AssertionVerdict, V as CaptureSurface, Vn as ScenarioRecord, Vr as AssertionCategory, Vt as ArchiveLabelTarget, W as TraceResponse, Wn as ScenarioTrigger, Wr as Category, Wt as HumanLabelOutcome, X as SpansClient, Xn as TraceSearchParams, Xr as HttpClient, Xt as LabelOutcome, Y as SpanListResult, Yn as TraceSearchFilters, Yr as CodeChangeFile, Yt as LabelConfidence, Z as BitfabRivetIntegration, Zn as TraceSearchResult, Zr as SpanLookup, Zt as LabelSource, _ as BitfabConfig, _i as ReplayNodeIdentity, _n as AssertionGenerationError, _r as DatasetGraderRef, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as MockOverrideInput, an as Verdict, ar as ExperimentPage, at as DbBranchOptions, b as CurrentSpan, bi as SelectiveReplayReport, bn as AssertionLabelEvidence, br as GraderRerun, bt as ReplayInterrupt, c as SeedResult, ci as NO_MOCK_OVERRIDE, cn as VerdictOutcome, cr as ExperimentRunBy, ct as ReplayError, d as seedFromRegistry, di as BitfabError, dn as VerdictTarget, dr as ExperimentTotals, dt as ReplayItemFinishProgress, ei as TokenUsage, en as LabelUpdate, er as TracesClient, et as RivetIntegrationOptions, f as finalizers, fi as MixedTracingError, fn as VerdictUpdate, fr as ExperimentsClient, ft as ReplayItemStartProgress, g as Bitfab, gi as SUPPORTED_PROVIDERS, gn as AssertionGeneration, gr as Dataset, gt as ReplayResult, h as CommitRef, hi as DbSnapshotRef, hn as AssertionEvidenceParameter, hr as AddDatasetTracesResult, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as MockOverrideCtx, in as TraceVerdicts, ir as ExperimentJitter, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, jn as SaveScenarioParams, jr as SaveDatasetParams, jt as GetGraderVerdictsParams, k as SpanMethodDecorator, ki as JustificationSpan, kn as SaveScenarioData, kr as RerunGradersOptions, kt as BitfabLangGraphCallbackHandler, l as defineReplayRegistry, li as NodeMatcher, ln as VerdictSource, lr as ExperimentStatus, lt as ReplayExperiment, m as __version__, mi as DbSnapshotProvider, mn as ArchiveAssertionsParams, mr as AddDatasetGradersResult, mt as ReplayProgress, n as ReplayRegistration, ni as DbBranchTimings, nn as PassFailVerdict, nr as ExperimentCategoryTally, nt as AdaptContext, o as ReseedRegistryResult, oi as MockOverrideResolver, on as VerdictAction, or as ExperimentRollup, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as DbSnapshotConfig, pn as VerdictsClient, pr as ListExperimentsParams, pt as ReplayOptions, q as SpanListField, qn as TraceAssertionsResult, qr as SaveCategoryParams, qt as HumanVerdictUpdate, r as ReplayRegistry, ri as MockOverride, rn as TraceLabels, rr as ExperimentCodeChangeTotals, rt as AdaptInputsFn, s as SeedCase, si as MockValue, sn as VerdictConfidence, sr as ExperimentRollupResult, st as MockStrategy, t as ReplayOptionsFactory, ti as flushTraces, tn as LabelsClient, tr as Experiment, tt as ReplayBranch, u as reseedFromRegistry, ui as SpanNodeMeta, un as VerdictStatus, ur as ExperimentTally, ut as ReplayItem, v as BitfabFunction, vi as SelectiveReplayDecision, vn as AssertionGenerationStatus, vr as DatasetTraceIds, vt as reportReplayProgress, w as NodeOptions, wi as ApprovalFields, wn as GenerateAssertionsOptions, wr as GraderRerunStatus, wt as BitfabOpenAIAgentHandler, x as CurrentTrace, xi as AllowedEnvVars, xn as AssertionRewrite, xr as GraderRerunError, xt as ReplayInterruptSignal, y as CaptureWhen, yi as SelectiveReplayOptions, yn as AssertionGenerationTimeoutError, yr as DatasetsClient, yt as serializeReplayResult, z as getCurrentSpan, zn as ScenarioDataSources, zr as BitfabClaudeAgentHandler, zt as GraderVerdictUpdate } from "./index-BuP59-AI.js";
2
+ export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/node.js CHANGED
@@ -7,8 +7,8 @@ if (typeof globalThis.__bitfab_deprecation_warned === "undefined") {
7
7
  "The bitfab package will stop receiving updates in a future release."
8
8
  );
9
9
  }
10
- import { A as ExperimentsClient, C as BitfabOpenAIAgentHandler, D as GradersClient, E as BitfabLangGraphCallbackHandler, F as BitfabClaudeAgentHandler, I as DEFAULT_SERVICE_URL, L as AssertionCategoriesClient, M as DatasetsClient, N as GraderRerunError, O as LabelsClient, P as GraderRerunTimeoutError, R as CategoriesClient, S as OrganizationMembersClient, T as BitfabLangGraphIntegration, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as SUPPORTED_PROVIDERS, k as VerdictsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as NO_MOCK_OVERRIDE, x as serializeReplayResult, y as ReplayError } from "./src-DvVk1aLi.js";
11
- import { S as MixedTracingError, i as flushTraces, t as HttpClient, w as __version__, x as BitfabError } from "./http-CDqaLdge.js";
10
+ import { A as ExperimentsClient, C as BitfabOpenAIAgentHandler, D as GradersClient, E as BitfabLangGraphCallbackHandler, F as BitfabClaudeAgentHandler, I as DEFAULT_SERVICE_URL, L as AssertionCategoriesClient, M as DatasetsClient, N as GraderRerunError, O as LabelsClient, P as GraderRerunTimeoutError, R as CategoriesClient, S as OrganizationMembersClient, T as BitfabLangGraphIntegration, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as SUPPORTED_PROVIDERS, k as VerdictsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as NO_MOCK_OVERRIDE, x as serializeReplayResult, y as ReplayError } from "./src-DgeGOhjN.js";
11
+ import { S as MixedTracingError, i as flushTraces, t as HttpClient, w as __version__, x as BitfabError } from "./http-CYIjoMdj.js";
12
12
  import { H as registerAsyncLocalStorageClass, R as assertAsyncStorageRegistered } from "./autoTrace-DVnpnuMb.js";
13
13
  import { AsyncLocalStorage } from "async_hooks";
14
14
  //#region src/asyncStorageNode.ts