@bitfab/sdk 0.65.9 → 0.65.10

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.
@@ -1859,7 +1859,13 @@ type AssertionGeneration = {
1859
1859
  finishedAt: string | null;
1860
1860
  };
1861
1861
  type TraceAssertionsResult = {
1862
- assertions: TraceAssertion[];
1862
+ /**
1863
+ * Each assertion carries `rewrite`: the latest check of text sent for it
1864
+ * with the guided rewrite on, or null when no check ever ran on it.
1865
+ */
1866
+ assertions: (TraceAssertion & {
1867
+ rewrite: AssertionRewrite | null;
1868
+ })[];
1863
1869
  inheritedFrom: string | null;
1864
1870
  generation: AssertionGeneration | null;
1865
1871
  };
@@ -1871,10 +1877,71 @@ type SaveAssertionsParams = {
1871
1877
  traceId: string;
1872
1878
  assertions: SaveAssertion[];
1873
1879
  source?: TraceAssertionSource;
1880
+ /**
1881
+ * Save the assertion text exactly as sent, with no check. By default
1882
+ * (false), Bitfab saves the text as sent, then checks each entry that
1883
+ * carries `assertion` text against its trace in the background and, when
1884
+ * the text breaks the writing rules (two claims in one, a condition, a
1885
+ * value pointed at instead of stated, an id from the recorded run, wording
1886
+ * that cannot be measured), rewrites it in place as one well-formed
1887
+ * assertion, usually within a minute. The save does not wait for the
1888
+ * check: each checked assertion comes back with `rewrite.status` set to
1889
+ * `pending`. Read the result later with `getAssertions`, whose rows carry
1890
+ * `rewrite`.
1891
+ */
1892
+ skipGuidedRewrite?: boolean;
1874
1893
  };
1875
1894
  type SaveAssertionsAllParams = {
1876
1895
  updates: TraceAssertionsUpdate[];
1877
1896
  source?: TraceAssertionSource;
1897
+ /**
1898
+ * Save the assertion text exactly as sent, with no check. By default
1899
+ * (false), Bitfab saves the text as sent, then checks each entry that
1900
+ * carries `assertion` text against its trace in the background and, when
1901
+ * the text breaks the writing rules (two claims in one, a condition, a
1902
+ * value pointed at instead of stated, an id from the recorded run, wording
1903
+ * that cannot be measured), rewrites it in place as one well-formed
1904
+ * assertion, usually within a minute. The save does not wait for the
1905
+ * check: each checked assertion comes back with `rewrite.status` set to
1906
+ * `pending`. Read the result later with `getAssertions`, whose rows carry
1907
+ * `rewrite`.
1908
+ */
1909
+ skipGuidedRewrite?: boolean;
1910
+ };
1911
+ /**
1912
+ * What the guided rewrite did with the sent text. The check runs on Bitfab in
1913
+ * the background after the text is saved as sent. `pending`: the check is
1914
+ * still running, so the text is as sent for now and may be rewritten in place.
1915
+ * `rewritten`: a rewritten assertion was saved in place of the sent text. `unchanged`: the sent text passed the check and stays as
1916
+ * sent. `not_checked`: the rewrite was skipped, or the entry sent no text.
1917
+ * `check_failed`: the check could not run, or did not finish within 15
1918
+ * minutes of the save, so the text stays as sent.
1919
+ */
1920
+ type AssertionRewriteStatus = "pending" | "rewritten" | "unchanged" | "not_checked" | "check_failed";
1921
+ /** How Bitfab checked and possibly rewrote one sent assertion. */
1922
+ type AssertionRewrite = {
1923
+ status: AssertionRewriteStatus;
1924
+ /** The text the caller sent, or null when the entry sent no text. */
1925
+ sentAssertion: string | null;
1926
+ /** One sentence per change: what changed and why. */
1927
+ changes: string[];
1928
+ /**
1929
+ * Other claims the sent text bundled together. They were not saved. Save
1930
+ * each one as its own assertion. Empty while the check is `pending`.
1931
+ */
1932
+ separateAssertions: string[];
1933
+ /** Problems rewording could not fix, each with what to do about it. */
1934
+ unresolved: string[];
1935
+ /** Why the check could not run, set only when `status` is `check_failed`. */
1936
+ error: string | null;
1937
+ };
1938
+ /**
1939
+ * An assertion as a save returns it, in the same order as the entries sent,
1940
+ * with the check of its sent text: `pending` when one was started, or
1941
+ * `not_checked`.
1942
+ */
1943
+ type SavedTraceAssertion = TraceAssertion & {
1944
+ rewrite: AssertionRewrite;
1878
1945
  };
1879
1946
  type ArchiveAssertionsParams = {
1880
1947
  traceId: string;
@@ -1898,8 +1965,27 @@ declare class TracesClient {
1898
1965
  constructor(httpClient: HttpClient);
1899
1966
  search(params: TraceSearchParams): Promise<TraceSearchResult>;
1900
1967
  getAssertions(traceId: string): Promise<TraceAssertionsResult>;
1901
- saveAssertions(params: SaveAssertionsParams): Promise<TraceAssertion[]>;
1902
- saveAssertionsAll(params: SaveAssertionsAllParams): Promise<TraceAssertion[]>;
1968
+ /**
1969
+ * Save assertions on one trace. Returns once the text is saved. Unless
1970
+ * `skipGuidedRewrite` is true, each entry with `assertion` text comes back
1971
+ * with `rewrite.status` set to `pending`, and Bitfab rewrites text that
1972
+ * breaks the writing rules in place in the background, usually within a
1973
+ * minute. Read the result later with `getAssertions`: each row's `rewrite`
1974
+ * says what changed and lists in `separateAssertions` any other claim to
1975
+ * save as its own assertion.
1976
+ */
1977
+ saveAssertions(params: SaveAssertionsParams): Promise<SavedTraceAssertion[]>;
1978
+ /**
1979
+ * Save assertions across many traces in one request. Returns once the text
1980
+ * is saved. Unless `skipGuidedRewrite` is true, each entry with `assertion`
1981
+ * text comes back with `rewrite.status` set to `pending`, and Bitfab
1982
+ * rewrites text that breaks the writing rules in place in the background,
1983
+ * usually within a minute. Read the result later with `getAssertions`: each
1984
+ * row's `rewrite` says what changed and lists in `separateAssertions` any
1985
+ * other claim to save as its own assertion. A check that has not finished
1986
+ * 15 minutes after the save reads as `check_failed`.
1987
+ */
1988
+ saveAssertionsAll(params: SaveAssertionsAllParams): Promise<SavedTraceAssertion[]>;
1903
1989
  generateAssertions(traceId: string, options?: GenerateAssertionsOptions): Promise<TraceAssertion[]>;
1904
1990
  archiveAssertions(params: ArchiveAssertionsParams): Promise<string[]>;
1905
1991
  getScenario(traceId: string): Promise<Scenario>;
@@ -4266,7 +4352,7 @@ interface CommitRef {
4266
4352
  /**
4267
4353
  * SDK version from package.json (injected at build time)
4268
4354
  */
4269
- declare const __version__ = "0.65.9";
4355
+ declare const __version__ = "0.65.10";
4270
4356
  //#endregion
4271
4357
  //#region src/constants.d.ts
4272
4358
  /**
@@ -4408,4 +4494,4 @@ declare function seedFromRegistry(registry: ReplayRegistry, pipeline: string, ca
4408
4494
  run?: boolean;
4409
4495
  }): Promise<SeedResult>;
4410
4496
  //#endregion
4411
- export { AdaptInputsFn as $, RerunGradersResult as $n, SaveAssertionsAllParams as $t, SpanMethodDecoratorContext as A, ExperimentRollupResult as An, MockValue as Ar, ArchiveLabelTarget as At, TraceResponse as B, DatasetGraderRef as Bn, ReplayNodeIdentity as Br, LabelUpdate as Bt, NodeMethodDecorator as C, TracesClient as Cn, TokenUsage as Cr, BitfabLangGraphCallbackHandler as Ct, SeedCaseOptions as D, ExperimentJitter as Dn, MockOverrideCtx as Dr, GraderLabelSource as Dt, ReseedResult as E, ExperimentCodeChangeTotals as En, MockOverride as Er, GraderLabelOutcome as Et, getCurrentSpan as F, ExperimentsClient as Fn, MixedTracingError as Fr, LabelConfidence as Ft, SpanListResult as G, GraderRerunProgress as Gn, BamlExecutionResult as Gr, AssertionEvidenceParameter as Gt, ListedSpan as H, DatasetsClient as Hn, SelectiveReplayOptions as Hr, TraceLabels as Ht, getCurrentTrace as I, ListExperimentsParams as In, DbSnapshotConfig as Ir, LabelOutcome as It, RivetContextLike as J, GraderRerunTimeoutError as Jn, ApprovalState as Jr, AssertionGenerationStatus as Jt, SpansClient as K, GraderRerunResult as Kn, ProviderDefinition as Kr, AssertionGeneration as Kt, CaptureSurface as L, AddDatasetGradersResult as Ln, DbSnapshotProvider as Lr, LabelSource as Lt, WrapBAMLOptions as M, ExperimentStatus as Mn, NodeMatcher as Mr, HumanLabelOutcome as Mt, WrappedBamlFn as N, ExperimentTally as Nn, SpanNodeMeta as Nr, HumanLabelUpdate as Nt, SeedRunOptions as O, ExperimentPage as On, MockOverrideInput as Or, GraderLabelUpdate as Ot, getCurrentReplayBranch as P, ExperimentTotals as Pn, BitfabError as Pr, LabelAction as Pt, AdaptContext as Q, RerunGradersOptions as Qn, JustificationSpan as Qr, SaveAssertion as Qt, ActiveSpanContext as R, AddDatasetTracesResult as Rn, DbSnapshotRef as Rr, LabelStatus as Rt, DetachedTrace as S, TraceTargetOccurrence as Sn, SpanType as Sr, LangGraphIntegrationOptions as St, ReseedOptions as T, ExperimentCategoryTally as Tn, DbBranchTimings as Tr, GraderLabel as Tt, SpanListField as U, GraderRerun as Un, SelectiveReplayReport as Ur, Verdict as Ut, TracingProcessor as V, DatasetTraceIds as Vn, SelectiveReplayDecision as Vr, LabelsClient as Vt, SpanListParams as W, GraderRerunError as Wn, AllowedEnvVars as Wr, ArchiveAssertionsParams as Wt, RivetIntegrationOptions as X, RemoveDatasetGradersResult as Xn, Assignee as Xr, AssertionLabelEvidence as Xt, RivetEffectType as Y, ListDatasetsParams as Yn, Approver as Yr, AssertionGenerationTimeoutError as Yt, ReplayBranch as Z, RemoveDatasetTracesResult as Zn, Justification as Zr, GenerateAssertionsOptions as Zt, BitfabConfig as _, TraceAssertionsUpdate as _n, CapturedSpan as _r, ReplayInterruptSignal as _t, ReplayRegistryOptions as a, Scenario as an, VercelCallParams as ar, ReplayExperiment as at, CurrentSpan as b, TraceSearchResult as bn, SpanLookup as br, BitfabOpenAIAgentHandler as bt, SeedResult as c, ScenarioData as cn, BitfabClaudeAgentHandler as cr, ReplayItemStartProgress as ct, seedFromRegistry as d, ScenarioHistoryEntry as dn, AssertionCategorySummary as dr, ReplayProgressItem as dt, SaveAssertionsParams as en, SaveDatasetParams as er, BITFAB_PROGRESS_PREFIX as et, finalizers as f, ScenarioSource as fn, CategoriesClient as fr, ReplayResult as ft, Bitfab as g, TraceAssertionsResult as gn, SaveCategoryParams as gr, ReplayInterrupt as gt, CommitRef as h, TraceAssertionSource as hn, SaveAssertionCategoryParams as hr, serializeReplayResult as ht, ReplayRegistryContext as i, SaveScenarioParams as in, BitfabVercelAiHandler as ir, ReplayError as it, SpanOptions as j, ExperimentRunBy as jn, NO_MOCK_OVERRIDE as jr, AssertionVerdict as jt, SpanMethodDecorator as k, ExperimentRollup as kn, MockOverrideResolver as kr, GradersClient as kt, defineReplayRegistry as l, ScenarioDataAppend as ln, AssertionCategoriesClient as lr, ReplayOptions as lt, __version__ as m, TraceAssertion as mn, CategorySummary as mr, reportReplayProgress as mt, ReplayRegistration as n, SaveScenarioData as nn, UpdateDatasetParams as nr, DbBranchReplayError as nt, ReseedRegistryResult as o, ScenarioAction as on, VercelGenerateResult as or, ReplayItem as ot, DEFAULT_SERVICE_URL as p, ScenarioTrigger as pn, Category as pr, TraceIngestionType as pt, BitfabRivetIntegration as q, GraderRerunStatus as qn, ApprovalFields as qr, AssertionGenerationError as qt, ReplayRegistry as r, SaveScenarioHistoryEntry as rn, BitfabLanguageModelMiddleware as rr, MockStrategy as rt, SeedCase as s, ScenarioActualOutcome as sn, VercelStreamResult as sr, ReplayItemFinishProgress as st, ReplayOptionsFactory as t, SaveScenarioActualOutcome as tn, SaveDatasetResult as tr, DbBranchOptions as tt, reseedFromRegistry as u, ScenarioDataOrigin as un, AssertionCategory as ur, ReplayProgress as ut, BitfabFunction as v, TraceSearchFilters as vn, CodeChangeFile as vr, OrganizationMember as vt, NodeOptions as w, Experiment as wn, flushTraces as wr, GetGraderLabelsParams as wt, CurrentTrace as x, TraceTarget as xn, SpanOccurrence as xr, BitfabLangGraphIntegration as xt, CaptureWhen as y, TraceSearchParams as yn, HttpClient as yr, OrganizationMembersClient as yt, BitfabOpenAITracingProcessor as z, Dataset as zn, SUPPORTED_PROVIDERS as zr, LabelTarget as zt };
4497
+ export { AdaptInputsFn as $, RemoveDatasetGradersResult as $n, Assignee as $r, GenerateAssertionsOptions as $t, SpanMethodDecoratorContext as A, ExperimentJitter as An, MockOverrideCtx as Ar, ArchiveLabelTarget as At, TraceResponse as B, AddDatasetGradersResult as Bn, DbSnapshotProvider as Br, LabelUpdate as Bt, NodeMethodDecorator as C, TraceSearchResult as Cn, SpanLookup as Cr, BitfabLangGraphCallbackHandler as Ct, SeedCaseOptions as D, Experiment as Dn, flushTraces as Dr, GraderLabelSource as Dt, ReseedResult as E, TracesClient as En, TokenUsage as Er, GraderLabelOutcome as Et, getCurrentSpan as F, ExperimentStatus as Fn, NodeMatcher as Fr, LabelConfidence as Ft, SpanListResult as G, DatasetsClient as Gn, SelectiveReplayOptions as Gr, AssertionEvidenceParameter as Gt, ListedSpan as H, Dataset as Hn, SUPPORTED_PROVIDERS as Hr, TraceLabels as Ht, getCurrentTrace as I, ExperimentTally as In, SpanNodeMeta as Ir, LabelOutcome as It, RivetContextLike as J, GraderRerunProgress as Jn, BamlExecutionResult as Jr, AssertionGenerationStatus as Jt, SpansClient as K, GraderRerun as Kn, SelectiveReplayReport as Kr, AssertionGeneration as Kt, CaptureSurface as L, ExperimentTotals as Ln, BitfabError as Lr, LabelSource as Lt, WrapBAMLOptions as M, ExperimentRollup as Mn, MockOverrideResolver as Mr, HumanLabelOutcome as Mt, WrappedBamlFn as N, ExperimentRollupResult as Nn, MockValue as Nr, HumanLabelUpdate as Nt, SeedRunOptions as O, ExperimentCategoryTally as On, DbBranchTimings as Or, GraderLabelUpdate as Ot, getCurrentReplayBranch as P, ExperimentRunBy as Pn, NO_MOCK_OVERRIDE as Pr, LabelAction as Pt, AdaptContext as Q, ListDatasetsParams as Qn, Approver as Qr, AssertionRewriteStatus as Qt, ActiveSpanContext as R, ExperimentsClient as Rn, MixedTracingError as Rr, LabelStatus as Rt, DetachedTrace as S, TraceSearchParams as Sn, HttpClient as Sr, LangGraphIntegrationOptions as St, ReseedOptions as T, TraceTargetOccurrence as Tn, SpanType as Tr, GraderLabel as Tt, SpanListField as U, DatasetGraderRef as Un, ReplayNodeIdentity as Ur, Verdict as Ut, TracingProcessor as V, AddDatasetTracesResult as Vn, DbSnapshotRef as Vr, LabelsClient as Vt, SpanListParams as W, DatasetTraceIds as Wn, SelectiveReplayDecision as Wr, ArchiveAssertionsParams as Wt, RivetIntegrationOptions as X, GraderRerunStatus as Xn, ApprovalFields as Xr, AssertionLabelEvidence as Xt, RivetEffectType as Y, GraderRerunResult as Yn, ProviderDefinition as Yr, AssertionGenerationTimeoutError as Yt, ReplayBranch as Z, GraderRerunTimeoutError as Zn, ApprovalState as Zr, AssertionRewrite as Zt, BitfabConfig as _, TraceAssertion as _n, CategorySummary as _r, ReplayInterruptSignal as _t, ReplayRegistryOptions as a, SaveScenarioHistoryEntry as an, UpdateDatasetParams as ar, ReplayExperiment as at, CurrentSpan as b, TraceAssertionsUpdate as bn, CapturedSpan as br, BitfabOpenAIAgentHandler as bt, SeedResult as c, Scenario as cn, VercelCallParams as cr, ReplayItemStartProgress as ct, seedFromRegistry as d, ScenarioData as dn, BitfabClaudeAgentHandler as dr, ReplayProgressItem as dt, Justification as ei, SaveAssertion as en, RemoveDatasetTracesResult as er, BITFAB_PROGRESS_PREFIX as et, finalizers as f, ScenarioDataAppend as fn, AssertionCategoriesClient as fr, ReplayResult as ft, Bitfab as g, ScenarioTrigger as gn, Category as gr, ReplayInterrupt as gt, CommitRef as h, ScenarioSource as hn, CategoriesClient as hr, serializeReplayResult as ht, ReplayRegistryContext as i, SaveScenarioData as in, SaveDatasetResult as ir, ReplayError as it, SpanOptions as j, ExperimentPage as jn, MockOverrideInput as jr, AssertionVerdict as jt, SpanMethodDecorator as k, ExperimentCodeChangeTotals as kn, MockOverride as kr, GradersClient as kt, defineReplayRegistry as l, ScenarioAction as ln, VercelGenerateResult as lr, ReplayOptions as lt, __version__ as m, ScenarioHistoryEntry as mn, AssertionCategorySummary as mr, reportReplayProgress as mt, ReplayRegistration as n, SaveAssertionsParams as nn, RerunGradersResult as nr, DbBranchReplayError as nt, ReseedRegistryResult as o, SaveScenarioParams as on, BitfabLanguageModelMiddleware as or, ReplayItem as ot, DEFAULT_SERVICE_URL as p, ScenarioDataOrigin as pn, AssertionCategory as pr, TraceIngestionType as pt, BitfabRivetIntegration as q, GraderRerunError as qn, AllowedEnvVars as qr, AssertionGenerationError as qt, ReplayRegistry as r, SaveScenarioActualOutcome as rn, SaveDatasetParams as rr, MockStrategy as rt, SeedCase as s, SavedTraceAssertion as sn, BitfabVercelAiHandler as sr, ReplayItemFinishProgress as st, ReplayOptionsFactory as t, JustificationSpan as ti, SaveAssertionsAllParams as tn, RerunGradersOptions as tr, DbBranchOptions as tt, reseedFromRegistry as u, ScenarioActualOutcome as un, VercelStreamResult as ur, ReplayProgress as ut, BitfabFunction as v, TraceAssertionSource as vn, SaveAssertionCategoryParams as vr, OrganizationMember as vt, NodeOptions as w, TraceTarget as wn, SpanOccurrence as wr, GetGraderLabelsParams as wt, CurrentTrace as x, TraceSearchFilters as xn, CodeChangeFile as xr, BitfabLangGraphIntegration as xt, CaptureWhen as y, TraceAssertionsResult as yn, SaveCategoryParams as yr, OrganizationMembersClient as yt, BitfabOpenAITracingProcessor as z, ListExperimentsParams as zn, DbSnapshotConfig as zr, LabelTarget as zt };
@@ -1859,7 +1859,13 @@ type AssertionGeneration = {
1859
1859
  finishedAt: string | null;
1860
1860
  };
1861
1861
  type TraceAssertionsResult = {
1862
- assertions: TraceAssertion[];
1862
+ /**
1863
+ * Each assertion carries `rewrite`: the latest check of text sent for it
1864
+ * with the guided rewrite on, or null when no check ever ran on it.
1865
+ */
1866
+ assertions: (TraceAssertion & {
1867
+ rewrite: AssertionRewrite | null;
1868
+ })[];
1863
1869
  inheritedFrom: string | null;
1864
1870
  generation: AssertionGeneration | null;
1865
1871
  };
@@ -1871,10 +1877,71 @@ type SaveAssertionsParams = {
1871
1877
  traceId: string;
1872
1878
  assertions: SaveAssertion[];
1873
1879
  source?: TraceAssertionSource;
1880
+ /**
1881
+ * Save the assertion text exactly as sent, with no check. By default
1882
+ * (false), Bitfab saves the text as sent, then checks each entry that
1883
+ * carries `assertion` text against its trace in the background and, when
1884
+ * the text breaks the writing rules (two claims in one, a condition, a
1885
+ * value pointed at instead of stated, an id from the recorded run, wording
1886
+ * that cannot be measured), rewrites it in place as one well-formed
1887
+ * assertion, usually within a minute. The save does not wait for the
1888
+ * check: each checked assertion comes back with `rewrite.status` set to
1889
+ * `pending`. Read the result later with `getAssertions`, whose rows carry
1890
+ * `rewrite`.
1891
+ */
1892
+ skipGuidedRewrite?: boolean;
1874
1893
  };
1875
1894
  type SaveAssertionsAllParams = {
1876
1895
  updates: TraceAssertionsUpdate[];
1877
1896
  source?: TraceAssertionSource;
1897
+ /**
1898
+ * Save the assertion text exactly as sent, with no check. By default
1899
+ * (false), Bitfab saves the text as sent, then checks each entry that
1900
+ * carries `assertion` text against its trace in the background and, when
1901
+ * the text breaks the writing rules (two claims in one, a condition, a
1902
+ * value pointed at instead of stated, an id from the recorded run, wording
1903
+ * that cannot be measured), rewrites it in place as one well-formed
1904
+ * assertion, usually within a minute. The save does not wait for the
1905
+ * check: each checked assertion comes back with `rewrite.status` set to
1906
+ * `pending`. Read the result later with `getAssertions`, whose rows carry
1907
+ * `rewrite`.
1908
+ */
1909
+ skipGuidedRewrite?: boolean;
1910
+ };
1911
+ /**
1912
+ * What the guided rewrite did with the sent text. The check runs on Bitfab in
1913
+ * the background after the text is saved as sent. `pending`: the check is
1914
+ * still running, so the text is as sent for now and may be rewritten in place.
1915
+ * `rewritten`: a rewritten assertion was saved in place of the sent text. `unchanged`: the sent text passed the check and stays as
1916
+ * sent. `not_checked`: the rewrite was skipped, or the entry sent no text.
1917
+ * `check_failed`: the check could not run, or did not finish within 15
1918
+ * minutes of the save, so the text stays as sent.
1919
+ */
1920
+ type AssertionRewriteStatus = "pending" | "rewritten" | "unchanged" | "not_checked" | "check_failed";
1921
+ /** How Bitfab checked and possibly rewrote one sent assertion. */
1922
+ type AssertionRewrite = {
1923
+ status: AssertionRewriteStatus;
1924
+ /** The text the caller sent, or null when the entry sent no text. */
1925
+ sentAssertion: string | null;
1926
+ /** One sentence per change: what changed and why. */
1927
+ changes: string[];
1928
+ /**
1929
+ * Other claims the sent text bundled together. They were not saved. Save
1930
+ * each one as its own assertion. Empty while the check is `pending`.
1931
+ */
1932
+ separateAssertions: string[];
1933
+ /** Problems rewording could not fix, each with what to do about it. */
1934
+ unresolved: string[];
1935
+ /** Why the check could not run, set only when `status` is `check_failed`. */
1936
+ error: string | null;
1937
+ };
1938
+ /**
1939
+ * An assertion as a save returns it, in the same order as the entries sent,
1940
+ * with the check of its sent text: `pending` when one was started, or
1941
+ * `not_checked`.
1942
+ */
1943
+ type SavedTraceAssertion = TraceAssertion & {
1944
+ rewrite: AssertionRewrite;
1878
1945
  };
1879
1946
  type ArchiveAssertionsParams = {
1880
1947
  traceId: string;
@@ -1898,8 +1965,27 @@ declare class TracesClient {
1898
1965
  constructor(httpClient: HttpClient);
1899
1966
  search(params: TraceSearchParams): Promise<TraceSearchResult>;
1900
1967
  getAssertions(traceId: string): Promise<TraceAssertionsResult>;
1901
- saveAssertions(params: SaveAssertionsParams): Promise<TraceAssertion[]>;
1902
- saveAssertionsAll(params: SaveAssertionsAllParams): Promise<TraceAssertion[]>;
1968
+ /**
1969
+ * Save assertions on one trace. Returns once the text is saved. Unless
1970
+ * `skipGuidedRewrite` is true, each entry with `assertion` text comes back
1971
+ * with `rewrite.status` set to `pending`, and Bitfab rewrites text that
1972
+ * breaks the writing rules in place in the background, usually within a
1973
+ * minute. Read the result later with `getAssertions`: each row's `rewrite`
1974
+ * says what changed and lists in `separateAssertions` any other claim to
1975
+ * save as its own assertion.
1976
+ */
1977
+ saveAssertions(params: SaveAssertionsParams): Promise<SavedTraceAssertion[]>;
1978
+ /**
1979
+ * Save assertions across many traces in one request. Returns once the text
1980
+ * is saved. Unless `skipGuidedRewrite` is true, each entry with `assertion`
1981
+ * text comes back with `rewrite.status` set to `pending`, and Bitfab
1982
+ * rewrites text that breaks the writing rules in place in the background,
1983
+ * usually within a minute. Read the result later with `getAssertions`: each
1984
+ * row's `rewrite` says what changed and lists in `separateAssertions` any
1985
+ * other claim to save as its own assertion. A check that has not finished
1986
+ * 15 minutes after the save reads as `check_failed`.
1987
+ */
1988
+ saveAssertionsAll(params: SaveAssertionsAllParams): Promise<SavedTraceAssertion[]>;
1903
1989
  generateAssertions(traceId: string, options?: GenerateAssertionsOptions): Promise<TraceAssertion[]>;
1904
1990
  archiveAssertions(params: ArchiveAssertionsParams): Promise<string[]>;
1905
1991
  getScenario(traceId: string): Promise<Scenario>;
@@ -4266,7 +4352,7 @@ interface CommitRef {
4266
4352
  /**
4267
4353
  * SDK version from package.json (injected at build time)
4268
4354
  */
4269
- declare const __version__ = "0.65.9";
4355
+ declare const __version__ = "0.65.10";
4270
4356
  //#endregion
4271
4357
  //#region src/constants.d.ts
4272
4358
  /**
@@ -4408,4 +4494,4 @@ declare function seedFromRegistry(registry: ReplayRegistry, pipeline: string, ca
4408
4494
  run?: boolean;
4409
4495
  }): Promise<SeedResult>;
4410
4496
  //#endregion
4411
- export { AdaptInputsFn as $, RerunGradersResult as $n, SaveAssertionsAllParams as $t, SpanMethodDecoratorContext as A, ExperimentRollupResult as An, MockValue as Ar, ArchiveLabelTarget as At, TraceResponse as B, DatasetGraderRef as Bn, ReplayNodeIdentity as Br, LabelUpdate as Bt, NodeMethodDecorator as C, TracesClient as Cn, TokenUsage as Cr, BitfabLangGraphCallbackHandler as Ct, SeedCaseOptions as D, ExperimentJitter as Dn, MockOverrideCtx as Dr, GraderLabelSource as Dt, ReseedResult as E, ExperimentCodeChangeTotals as En, MockOverride as Er, GraderLabelOutcome as Et, getCurrentSpan as F, ExperimentsClient as Fn, MixedTracingError as Fr, LabelConfidence as Ft, SpanListResult as G, GraderRerunProgress as Gn, BamlExecutionResult as Gr, AssertionEvidenceParameter as Gt, ListedSpan as H, DatasetsClient as Hn, SelectiveReplayOptions as Hr, TraceLabels as Ht, getCurrentTrace as I, ListExperimentsParams as In, DbSnapshotConfig as Ir, LabelOutcome as It, RivetContextLike as J, GraderRerunTimeoutError as Jn, ApprovalState as Jr, AssertionGenerationStatus as Jt, SpansClient as K, GraderRerunResult as Kn, ProviderDefinition as Kr, AssertionGeneration as Kt, CaptureSurface as L, AddDatasetGradersResult as Ln, DbSnapshotProvider as Lr, LabelSource as Lt, WrapBAMLOptions as M, ExperimentStatus as Mn, NodeMatcher as Mr, HumanLabelOutcome as Mt, WrappedBamlFn as N, ExperimentTally as Nn, SpanNodeMeta as Nr, HumanLabelUpdate as Nt, SeedRunOptions as O, ExperimentPage as On, MockOverrideInput as Or, GraderLabelUpdate as Ot, getCurrentReplayBranch as P, ExperimentTotals as Pn, BitfabError as Pr, LabelAction as Pt, AdaptContext as Q, RerunGradersOptions as Qn, JustificationSpan as Qr, SaveAssertion as Qt, ActiveSpanContext as R, AddDatasetTracesResult as Rn, DbSnapshotRef as Rr, LabelStatus as Rt, DetachedTrace as S, TraceTargetOccurrence as Sn, SpanType as Sr, LangGraphIntegrationOptions as St, ReseedOptions as T, ExperimentCategoryTally as Tn, DbBranchTimings as Tr, GraderLabel as Tt, SpanListField as U, GraderRerun as Un, SelectiveReplayReport as Ur, Verdict as Ut, TracingProcessor as V, DatasetTraceIds as Vn, SelectiveReplayDecision as Vr, LabelsClient as Vt, SpanListParams as W, GraderRerunError as Wn, AllowedEnvVars as Wr, ArchiveAssertionsParams as Wt, RivetIntegrationOptions as X, RemoveDatasetGradersResult as Xn, Assignee as Xr, AssertionLabelEvidence as Xt, RivetEffectType as Y, ListDatasetsParams as Yn, Approver as Yr, AssertionGenerationTimeoutError as Yt, ReplayBranch as Z, RemoveDatasetTracesResult as Zn, Justification as Zr, GenerateAssertionsOptions as Zt, BitfabConfig as _, TraceAssertionsUpdate as _n, CapturedSpan as _r, ReplayInterruptSignal as _t, ReplayRegistryOptions as a, Scenario as an, VercelCallParams as ar, ReplayExperiment as at, CurrentSpan as b, TraceSearchResult as bn, SpanLookup as br, BitfabOpenAIAgentHandler as bt, SeedResult as c, ScenarioData as cn, BitfabClaudeAgentHandler as cr, ReplayItemStartProgress as ct, seedFromRegistry as d, ScenarioHistoryEntry as dn, AssertionCategorySummary as dr, ReplayProgressItem as dt, SaveAssertionsParams as en, SaveDatasetParams as er, BITFAB_PROGRESS_PREFIX as et, finalizers as f, ScenarioSource as fn, CategoriesClient as fr, ReplayResult as ft, Bitfab as g, TraceAssertionsResult as gn, SaveCategoryParams as gr, ReplayInterrupt as gt, CommitRef as h, TraceAssertionSource as hn, SaveAssertionCategoryParams as hr, serializeReplayResult as ht, ReplayRegistryContext as i, SaveScenarioParams as in, BitfabVercelAiHandler as ir, ReplayError as it, SpanOptions as j, ExperimentRunBy as jn, NO_MOCK_OVERRIDE as jr, AssertionVerdict as jt, SpanMethodDecorator as k, ExperimentRollup as kn, MockOverrideResolver as kr, GradersClient as kt, defineReplayRegistry as l, ScenarioDataAppend as ln, AssertionCategoriesClient as lr, ReplayOptions as lt, __version__ as m, TraceAssertion as mn, CategorySummary as mr, reportReplayProgress as mt, ReplayRegistration as n, SaveScenarioData as nn, UpdateDatasetParams as nr, DbBranchReplayError as nt, ReseedRegistryResult as o, ScenarioAction as on, VercelGenerateResult as or, ReplayItem as ot, DEFAULT_SERVICE_URL as p, ScenarioTrigger as pn, Category as pr, TraceIngestionType as pt, BitfabRivetIntegration as q, GraderRerunStatus as qn, ApprovalFields as qr, AssertionGenerationError as qt, ReplayRegistry as r, SaveScenarioHistoryEntry as rn, BitfabLanguageModelMiddleware as rr, MockStrategy as rt, SeedCase as s, ScenarioActualOutcome as sn, VercelStreamResult as sr, ReplayItemFinishProgress as st, ReplayOptionsFactory as t, SaveScenarioActualOutcome as tn, SaveDatasetResult as tr, DbBranchOptions as tt, reseedFromRegistry as u, ScenarioDataOrigin as un, AssertionCategory as ur, ReplayProgress as ut, BitfabFunction as v, TraceSearchFilters as vn, CodeChangeFile as vr, OrganizationMember as vt, NodeOptions as w, Experiment as wn, flushTraces as wr, GetGraderLabelsParams as wt, CurrentTrace as x, TraceTarget as xn, SpanOccurrence as xr, BitfabLangGraphIntegration as xt, CaptureWhen as y, TraceSearchParams as yn, HttpClient as yr, OrganizationMembersClient as yt, BitfabOpenAITracingProcessor as z, Dataset as zn, SUPPORTED_PROVIDERS as zr, LabelTarget as zt };
4497
+ export { AdaptInputsFn as $, RemoveDatasetGradersResult as $n, Assignee as $r, GenerateAssertionsOptions as $t, SpanMethodDecoratorContext as A, ExperimentJitter as An, MockOverrideCtx as Ar, ArchiveLabelTarget as At, TraceResponse as B, AddDatasetGradersResult as Bn, DbSnapshotProvider as Br, LabelUpdate as Bt, NodeMethodDecorator as C, TraceSearchResult as Cn, SpanLookup as Cr, BitfabLangGraphCallbackHandler as Ct, SeedCaseOptions as D, Experiment as Dn, flushTraces as Dr, GraderLabelSource as Dt, ReseedResult as E, TracesClient as En, TokenUsage as Er, GraderLabelOutcome as Et, getCurrentSpan as F, ExperimentStatus as Fn, NodeMatcher as Fr, LabelConfidence as Ft, SpanListResult as G, DatasetsClient as Gn, SelectiveReplayOptions as Gr, AssertionEvidenceParameter as Gt, ListedSpan as H, Dataset as Hn, SUPPORTED_PROVIDERS as Hr, TraceLabels as Ht, getCurrentTrace as I, ExperimentTally as In, SpanNodeMeta as Ir, LabelOutcome as It, RivetContextLike as J, GraderRerunProgress as Jn, BamlExecutionResult as Jr, AssertionGenerationStatus as Jt, SpansClient as K, GraderRerun as Kn, SelectiveReplayReport as Kr, AssertionGeneration as Kt, CaptureSurface as L, ExperimentTotals as Ln, BitfabError as Lr, LabelSource as Lt, WrapBAMLOptions as M, ExperimentRollup as Mn, MockOverrideResolver as Mr, HumanLabelOutcome as Mt, WrappedBamlFn as N, ExperimentRollupResult as Nn, MockValue as Nr, HumanLabelUpdate as Nt, SeedRunOptions as O, ExperimentCategoryTally as On, DbBranchTimings as Or, GraderLabelUpdate as Ot, getCurrentReplayBranch as P, ExperimentRunBy as Pn, NO_MOCK_OVERRIDE as Pr, LabelAction as Pt, AdaptContext as Q, ListDatasetsParams as Qn, Approver as Qr, AssertionRewriteStatus as Qt, ActiveSpanContext as R, ExperimentsClient as Rn, MixedTracingError as Rr, LabelStatus as Rt, DetachedTrace as S, TraceSearchParams as Sn, HttpClient as Sr, LangGraphIntegrationOptions as St, ReseedOptions as T, TraceTargetOccurrence as Tn, SpanType as Tr, GraderLabel as Tt, SpanListField as U, DatasetGraderRef as Un, ReplayNodeIdentity as Ur, Verdict as Ut, TracingProcessor as V, AddDatasetTracesResult as Vn, DbSnapshotRef as Vr, LabelsClient as Vt, SpanListParams as W, DatasetTraceIds as Wn, SelectiveReplayDecision as Wr, ArchiveAssertionsParams as Wt, RivetIntegrationOptions as X, GraderRerunStatus as Xn, ApprovalFields as Xr, AssertionLabelEvidence as Xt, RivetEffectType as Y, GraderRerunResult as Yn, ProviderDefinition as Yr, AssertionGenerationTimeoutError as Yt, ReplayBranch as Z, GraderRerunTimeoutError as Zn, ApprovalState as Zr, AssertionRewrite as Zt, BitfabConfig as _, TraceAssertion as _n, CategorySummary as _r, ReplayInterruptSignal as _t, ReplayRegistryOptions as a, SaveScenarioHistoryEntry as an, UpdateDatasetParams as ar, ReplayExperiment as at, CurrentSpan as b, TraceAssertionsUpdate as bn, CapturedSpan as br, BitfabOpenAIAgentHandler as bt, SeedResult as c, Scenario as cn, VercelCallParams as cr, ReplayItemStartProgress as ct, seedFromRegistry as d, ScenarioData as dn, BitfabClaudeAgentHandler as dr, ReplayProgressItem as dt, Justification as ei, SaveAssertion as en, RemoveDatasetTracesResult as er, BITFAB_PROGRESS_PREFIX as et, finalizers as f, ScenarioDataAppend as fn, AssertionCategoriesClient as fr, ReplayResult as ft, Bitfab as g, ScenarioTrigger as gn, Category as gr, ReplayInterrupt as gt, CommitRef as h, ScenarioSource as hn, CategoriesClient as hr, serializeReplayResult as ht, ReplayRegistryContext as i, SaveScenarioData as in, SaveDatasetResult as ir, ReplayError as it, SpanOptions as j, ExperimentPage as jn, MockOverrideInput as jr, AssertionVerdict as jt, SpanMethodDecorator as k, ExperimentCodeChangeTotals as kn, MockOverride as kr, GradersClient as kt, defineReplayRegistry as l, ScenarioAction as ln, VercelGenerateResult as lr, ReplayOptions as lt, __version__ as m, ScenarioHistoryEntry as mn, AssertionCategorySummary as mr, reportReplayProgress as mt, ReplayRegistration as n, SaveAssertionsParams as nn, RerunGradersResult as nr, DbBranchReplayError as nt, ReseedRegistryResult as o, SaveScenarioParams as on, BitfabLanguageModelMiddleware as or, ReplayItem as ot, DEFAULT_SERVICE_URL as p, ScenarioDataOrigin as pn, AssertionCategory as pr, TraceIngestionType as pt, BitfabRivetIntegration as q, GraderRerunError as qn, AllowedEnvVars as qr, AssertionGenerationError as qt, ReplayRegistry as r, SaveScenarioActualOutcome as rn, SaveDatasetParams as rr, MockStrategy as rt, SeedCase as s, SavedTraceAssertion as sn, BitfabVercelAiHandler as sr, ReplayItemFinishProgress as st, ReplayOptionsFactory as t, JustificationSpan as ti, SaveAssertionsAllParams as tn, RerunGradersOptions as tr, DbBranchOptions as tt, reseedFromRegistry as u, ScenarioActualOutcome as un, VercelStreamResult as ur, ReplayProgress as ut, BitfabFunction as v, TraceAssertionSource as vn, SaveAssertionCategoryParams as vr, OrganizationMember as vt, NodeOptions as w, TraceTarget as wn, SpanOccurrence as wr, GetGraderLabelsParams as wt, CurrentTrace as x, TraceSearchFilters as xn, CodeChangeFile as xr, BitfabLangGraphIntegration as xt, CaptureWhen as y, TraceAssertionsResult as yn, SaveCategoryParams as yr, OrganizationMembersClient as yt, BitfabOpenAITracingProcessor as z, ListExperimentsParams as zn, DbSnapshotConfig as zr, LabelTarget as zt };
package/dist/index.cjs CHANGED
@@ -2,8 +2,8 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_src = require("./src-BWZx-C1S.cjs");
6
- const require_http = require("./http-DX-fpUSu.cjs");
5
+ const require_src = require("./src-Cgw_Bw4p.cjs");
6
+ const require_http = require("./http-CbiIR-Z6.cjs");
7
7
  exports.AssertionCategoriesClient = require_src.AssertionCategoriesClient;
8
8
  exports.AssertionGenerationError = require_src.AssertionGenerationError;
9
9
  exports.AssertionGenerationTimeoutError = require_src.AssertionGenerationTimeoutError;
package/dist/index.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as AdaptInputsFn, $n as RerunGradersResult, $t as SaveAssertionsAllParams, A as SpanMethodDecoratorContext, An as ExperimentRollupResult, Ar as MockValue, At as ArchiveLabelTarget, B as TraceResponse, Bn as DatasetGraderRef, Br as ReplayNodeIdentity, Bt as LabelUpdate, C as NodeMethodDecorator, Cn as TracesClient, Cr as TokenUsage, Ct as BitfabLangGraphCallbackHandler, D as SeedCaseOptions, Dn as ExperimentJitter, Dr as MockOverrideCtx, Dt as GraderLabelSource, E as ReseedResult, En as ExperimentCodeChangeTotals, Er as MockOverride, Et as GraderLabelOutcome, F as getCurrentSpan, Fn as ExperimentsClient, Fr as MixedTracingError, Ft as LabelConfidence, G as SpanListResult, Gn as GraderRerunProgress, Gr as BamlExecutionResult, Gt as AssertionEvidenceParameter, H as ListedSpan, Hn as DatasetsClient, Hr as SelectiveReplayOptions, Ht as TraceLabels, I as getCurrentTrace, In as ListExperimentsParams, Ir as DbSnapshotConfig, It as LabelOutcome, J as RivetContextLike, Jn as GraderRerunTimeoutError, Jr as ApprovalState, Jt as AssertionGenerationStatus, K as SpansClient, Kn as GraderRerunResult, Kr as ProviderDefinition, Kt as AssertionGeneration, L as CaptureSurface, Ln as AddDatasetGradersResult, Lr as DbSnapshotProvider, Lt as LabelSource, M as WrapBAMLOptions, Mn as ExperimentStatus, Mr as NodeMatcher, Mt as HumanLabelOutcome, N as WrappedBamlFn, Nn as ExperimentTally, Nr as SpanNodeMeta, Nt as HumanLabelUpdate, O as SeedRunOptions, On as ExperimentPage, Or as MockOverrideInput, Ot as GraderLabelUpdate, P as getCurrentReplayBranch, Pn as ExperimentTotals, Pr as BitfabError, Pt as LabelAction, Q as AdaptContext, Qn as RerunGradersOptions, Qr as JustificationSpan, Qt as SaveAssertion, R as ActiveSpanContext, Rn as AddDatasetTracesResult, Rr as DbSnapshotRef, Rt as LabelStatus, S as DetachedTrace, Sn as TraceTargetOccurrence, Sr as SpanType, St as LangGraphIntegrationOptions, T as ReseedOptions, Tn as ExperimentCategoryTally, Tr as DbBranchTimings, Tt as GraderLabel, U as SpanListField, Un as GraderRerun, Ur as SelectiveReplayReport, Ut as Verdict, V as TracingProcessor, Vn as DatasetTraceIds, Vr as SelectiveReplayDecision, Vt as LabelsClient, W as SpanListParams, Wn as GraderRerunError, Wr as AllowedEnvVars, Wt as ArchiveAssertionsParams, X as RivetIntegrationOptions, Xn as RemoveDatasetGradersResult, Xr as Assignee, Xt as AssertionLabelEvidence, Y as RivetEffectType, Yn as ListDatasetsParams, Yr as Approver, Yt as AssertionGenerationTimeoutError, Z as ReplayBranch, Zn as RemoveDatasetTracesResult, Zr as Justification, Zt as GenerateAssertionsOptions, _ as BitfabConfig, _n as TraceAssertionsUpdate, _r as CapturedSpan, _t as ReplayInterruptSignal, a as ReplayRegistryOptions, an as Scenario, ar as VercelCallParams, at as ReplayExperiment, b as CurrentSpan, bn as TraceSearchResult, br as SpanLookup, bt as BitfabOpenAIAgentHandler, c as SeedResult, cn as ScenarioData, cr as BitfabClaudeAgentHandler, ct as ReplayItemStartProgress, d as seedFromRegistry, dn as ScenarioHistoryEntry, dr as AssertionCategorySummary, dt as ReplayProgressItem, en as SaveAssertionsParams, er as SaveDatasetParams, et as BITFAB_PROGRESS_PREFIX, f as finalizers, fn as ScenarioSource, fr as CategoriesClient, ft as ReplayResult, g as Bitfab, gn as TraceAssertionsResult, gr as SaveCategoryParams, gt as ReplayInterrupt, h as CommitRef, hn as TraceAssertionSource, hr as SaveAssertionCategoryParams, ht as serializeReplayResult, i as ReplayRegistryContext, in as SaveScenarioParams, ir as BitfabVercelAiHandler, it as ReplayError, j as SpanOptions, jn as ExperimentRunBy, jr as NO_MOCK_OVERRIDE, jt as AssertionVerdict, k as SpanMethodDecorator, kn as ExperimentRollup, kr as MockOverrideResolver, kt as GradersClient, l as defineReplayRegistry, ln as ScenarioDataAppend, lr as AssertionCategoriesClient, lt as ReplayOptions, m as __version__, mn as TraceAssertion, mr as CategorySummary, mt as reportReplayProgress, n as ReplayRegistration, nn as SaveScenarioData, nr as UpdateDatasetParams, nt as DbBranchReplayError, o as ReseedRegistryResult, on as ScenarioAction, or as VercelGenerateResult, ot as ReplayItem, p as DEFAULT_SERVICE_URL, pn as ScenarioTrigger, pr as Category, pt as TraceIngestionType, q as BitfabRivetIntegration, qn as GraderRerunStatus, qr as ApprovalFields, qt as AssertionGenerationError, r as ReplayRegistry, rn as SaveScenarioHistoryEntry, rr as BitfabLanguageModelMiddleware, rt as MockStrategy, s as SeedCase, sn as ScenarioActualOutcome, sr as VercelStreamResult, st as ReplayItemFinishProgress, t as ReplayOptionsFactory, tn as SaveScenarioActualOutcome, tr as SaveDatasetResult, tt as DbBranchOptions, u as reseedFromRegistry, un as ScenarioDataOrigin, ur as AssertionCategory, ut as ReplayProgress, v as BitfabFunction, vn as TraceSearchFilters, vr as CodeChangeFile, vt as OrganizationMember, w as NodeOptions, wn as Experiment, wr as flushTraces, wt as GetGraderLabelsParams, x as CurrentTrace, xn as TraceTarget, xr as SpanOccurrence, xt as BitfabLangGraphIntegration, y as CaptureWhen, yn as TraceSearchParams, yr as HttpClient, yt as OrganizationMembersClient, z as BitfabOpenAITracingProcessor, zn as Dataset, zr as SUPPORTED_PROVIDERS, zt as LabelTarget } from "./index-C2b7Qyjw.cjs";
2
- export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionVerdict, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioHistoryEntry, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type WrapBAMLOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
1
+ import { $ as AdaptInputsFn, $n as RemoveDatasetGradersResult, $r as Assignee, $t as GenerateAssertionsOptions, A as SpanMethodDecoratorContext, An as ExperimentJitter, Ar as MockOverrideCtx, At as ArchiveLabelTarget, B as TraceResponse, Bn as AddDatasetGradersResult, Br as DbSnapshotProvider, Bt as LabelUpdate, C as NodeMethodDecorator, Cn as TraceSearchResult, Cr as SpanLookup, Ct as BitfabLangGraphCallbackHandler, D as SeedCaseOptions, Dn as Experiment, Dr as flushTraces, Dt as GraderLabelSource, E as ReseedResult, En as TracesClient, Er as TokenUsage, Et as GraderLabelOutcome, F as getCurrentSpan, Fn as ExperimentStatus, Fr as NodeMatcher, Ft as LabelConfidence, G as SpanListResult, Gn as DatasetsClient, Gr as SelectiveReplayOptions, Gt as AssertionEvidenceParameter, H as ListedSpan, Hn as Dataset, Hr as SUPPORTED_PROVIDERS, Ht as TraceLabels, I as getCurrentTrace, In as ExperimentTally, Ir as SpanNodeMeta, It as LabelOutcome, J as RivetContextLike, Jn as GraderRerunProgress, Jr as BamlExecutionResult, Jt as AssertionGenerationStatus, K as SpansClient, Kn as GraderRerun, Kr as SelectiveReplayReport, Kt as AssertionGeneration, L as CaptureSurface, Ln as ExperimentTotals, Lr as BitfabError, Lt as LabelSource, M as WrapBAMLOptions, Mn as ExperimentRollup, Mr as MockOverrideResolver, Mt as HumanLabelOutcome, N as WrappedBamlFn, Nn as ExperimentRollupResult, Nr as MockValue, Nt as HumanLabelUpdate, O as SeedRunOptions, On as ExperimentCategoryTally, Or as DbBranchTimings, Ot as GraderLabelUpdate, P as getCurrentReplayBranch, Pn as ExperimentRunBy, Pr as NO_MOCK_OVERRIDE, Pt as LabelAction, Q as AdaptContext, Qn as ListDatasetsParams, Qr as Approver, Qt as AssertionRewriteStatus, R as ActiveSpanContext, Rn as ExperimentsClient, Rr as MixedTracingError, Rt as LabelStatus, S as DetachedTrace, Sn as TraceSearchParams, Sr as HttpClient, St as LangGraphIntegrationOptions, T as ReseedOptions, Tn as TraceTargetOccurrence, Tr as SpanType, Tt as GraderLabel, U as SpanListField, Un as DatasetGraderRef, Ur as ReplayNodeIdentity, Ut as Verdict, V as TracingProcessor, Vn as AddDatasetTracesResult, Vr as DbSnapshotRef, Vt as LabelsClient, W as SpanListParams, Wn as DatasetTraceIds, Wr as SelectiveReplayDecision, Wt as ArchiveAssertionsParams, X as RivetIntegrationOptions, Xn as GraderRerunStatus, Xr as ApprovalFields, Xt as AssertionLabelEvidence, Y as RivetEffectType, Yn as GraderRerunResult, Yr as ProviderDefinition, Yt as AssertionGenerationTimeoutError, Z as ReplayBranch, Zn as GraderRerunTimeoutError, Zr as ApprovalState, Zt as AssertionRewrite, _ as BitfabConfig, _n as TraceAssertion, _r as CategorySummary, _t as ReplayInterruptSignal, a as ReplayRegistryOptions, an as SaveScenarioHistoryEntry, ar as UpdateDatasetParams, at as ReplayExperiment, b as CurrentSpan, bn as TraceAssertionsUpdate, br as CapturedSpan, bt as BitfabOpenAIAgentHandler, c as SeedResult, cn as Scenario, cr as VercelCallParams, ct as ReplayItemStartProgress, d as seedFromRegistry, dn as ScenarioData, dr as BitfabClaudeAgentHandler, dt as ReplayProgressItem, ei as Justification, en as SaveAssertion, er as RemoveDatasetTracesResult, et as BITFAB_PROGRESS_PREFIX, f as finalizers, fn as ScenarioDataAppend, fr as AssertionCategoriesClient, ft as ReplayResult, g as Bitfab, gn as ScenarioTrigger, gr as Category, gt as ReplayInterrupt, h as CommitRef, hn as ScenarioSource, hr as CategoriesClient, ht as serializeReplayResult, i as ReplayRegistryContext, in as SaveScenarioData, ir as SaveDatasetResult, it as ReplayError, j as SpanOptions, jn as ExperimentPage, jr as MockOverrideInput, jt as AssertionVerdict, k as SpanMethodDecorator, kn as ExperimentCodeChangeTotals, kr as MockOverride, kt as GradersClient, l as defineReplayRegistry, ln as ScenarioAction, lr as VercelGenerateResult, lt as ReplayOptions, m as __version__, mn as ScenarioHistoryEntry, mr as AssertionCategorySummary, mt as reportReplayProgress, n as ReplayRegistration, nn as SaveAssertionsParams, nr as RerunGradersResult, nt as DbBranchReplayError, o as ReseedRegistryResult, on as SaveScenarioParams, or as BitfabLanguageModelMiddleware, ot as ReplayItem, p as DEFAULT_SERVICE_URL, pn as ScenarioDataOrigin, pr as AssertionCategory, pt as TraceIngestionType, q as BitfabRivetIntegration, qn as GraderRerunError, qr as AllowedEnvVars, qt as AssertionGenerationError, r as ReplayRegistry, rn as SaveScenarioActualOutcome, rr as SaveDatasetParams, rt as MockStrategy, s as SeedCase, sn as SavedTraceAssertion, sr as BitfabVercelAiHandler, st as ReplayItemFinishProgress, t as ReplayOptionsFactory, ti as JustificationSpan, tn as SaveAssertionsAllParams, tr as RerunGradersOptions, tt as DbBranchOptions, u as reseedFromRegistry, un as ScenarioActualOutcome, ur as VercelStreamResult, ut as ReplayProgress, v as BitfabFunction, vn as TraceAssertionSource, vr as SaveAssertionCategoryParams, vt as OrganizationMember, w as NodeOptions, wn as TraceTarget, wr as SpanOccurrence, wt as GetGraderLabelsParams, x as CurrentTrace, xn as TraceSearchFilters, xr as CodeChangeFile, xt as BitfabLangGraphIntegration, y as CaptureWhen, yn as TraceAssertionsResult, yr as SaveCategoryParams, yt as OrganizationMembersClient, z as BitfabOpenAITracingProcessor, zn as ListExperimentsParams, zr as DbSnapshotConfig, zt as LabelTarget } from "./index-QF59Xb54.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, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type 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, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type WrapBAMLOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as AdaptInputsFn, $n as RerunGradersResult, $t as SaveAssertionsAllParams, A as SpanMethodDecoratorContext, An as ExperimentRollupResult, Ar as MockValue, At as ArchiveLabelTarget, B as TraceResponse, Bn as DatasetGraderRef, Br as ReplayNodeIdentity, Bt as LabelUpdate, C as NodeMethodDecorator, Cn as TracesClient, Cr as TokenUsage, Ct as BitfabLangGraphCallbackHandler, D as SeedCaseOptions, Dn as ExperimentJitter, Dr as MockOverrideCtx, Dt as GraderLabelSource, E as ReseedResult, En as ExperimentCodeChangeTotals, Er as MockOverride, Et as GraderLabelOutcome, F as getCurrentSpan, Fn as ExperimentsClient, Fr as MixedTracingError, Ft as LabelConfidence, G as SpanListResult, Gn as GraderRerunProgress, Gr as BamlExecutionResult, Gt as AssertionEvidenceParameter, H as ListedSpan, Hn as DatasetsClient, Hr as SelectiveReplayOptions, Ht as TraceLabels, I as getCurrentTrace, In as ListExperimentsParams, Ir as DbSnapshotConfig, It as LabelOutcome, J as RivetContextLike, Jn as GraderRerunTimeoutError, Jr as ApprovalState, Jt as AssertionGenerationStatus, K as SpansClient, Kn as GraderRerunResult, Kr as ProviderDefinition, Kt as AssertionGeneration, L as CaptureSurface, Ln as AddDatasetGradersResult, Lr as DbSnapshotProvider, Lt as LabelSource, M as WrapBAMLOptions, Mn as ExperimentStatus, Mr as NodeMatcher, Mt as HumanLabelOutcome, N as WrappedBamlFn, Nn as ExperimentTally, Nr as SpanNodeMeta, Nt as HumanLabelUpdate, O as SeedRunOptions, On as ExperimentPage, Or as MockOverrideInput, Ot as GraderLabelUpdate, P as getCurrentReplayBranch, Pn as ExperimentTotals, Pr as BitfabError, Pt as LabelAction, Q as AdaptContext, Qn as RerunGradersOptions, Qr as JustificationSpan, Qt as SaveAssertion, R as ActiveSpanContext, Rn as AddDatasetTracesResult, Rr as DbSnapshotRef, Rt as LabelStatus, S as DetachedTrace, Sn as TraceTargetOccurrence, Sr as SpanType, St as LangGraphIntegrationOptions, T as ReseedOptions, Tn as ExperimentCategoryTally, Tr as DbBranchTimings, Tt as GraderLabel, U as SpanListField, Un as GraderRerun, Ur as SelectiveReplayReport, Ut as Verdict, V as TracingProcessor, Vn as DatasetTraceIds, Vr as SelectiveReplayDecision, Vt as LabelsClient, W as SpanListParams, Wn as GraderRerunError, Wr as AllowedEnvVars, Wt as ArchiveAssertionsParams, X as RivetIntegrationOptions, Xn as RemoveDatasetGradersResult, Xr as Assignee, Xt as AssertionLabelEvidence, Y as RivetEffectType, Yn as ListDatasetsParams, Yr as Approver, Yt as AssertionGenerationTimeoutError, Z as ReplayBranch, Zn as RemoveDatasetTracesResult, Zr as Justification, Zt as GenerateAssertionsOptions, _ as BitfabConfig, _n as TraceAssertionsUpdate, _r as CapturedSpan, _t as ReplayInterruptSignal, a as ReplayRegistryOptions, an as Scenario, ar as VercelCallParams, at as ReplayExperiment, b as CurrentSpan, bn as TraceSearchResult, br as SpanLookup, bt as BitfabOpenAIAgentHandler, c as SeedResult, cn as ScenarioData, cr as BitfabClaudeAgentHandler, ct as ReplayItemStartProgress, d as seedFromRegistry, dn as ScenarioHistoryEntry, dr as AssertionCategorySummary, dt as ReplayProgressItem, en as SaveAssertionsParams, er as SaveDatasetParams, et as BITFAB_PROGRESS_PREFIX, f as finalizers, fn as ScenarioSource, fr as CategoriesClient, ft as ReplayResult, g as Bitfab, gn as TraceAssertionsResult, gr as SaveCategoryParams, gt as ReplayInterrupt, h as CommitRef, hn as TraceAssertionSource, hr as SaveAssertionCategoryParams, ht as serializeReplayResult, i as ReplayRegistryContext, in as SaveScenarioParams, ir as BitfabVercelAiHandler, it as ReplayError, j as SpanOptions, jn as ExperimentRunBy, jr as NO_MOCK_OVERRIDE, jt as AssertionVerdict, k as SpanMethodDecorator, kn as ExperimentRollup, kr as MockOverrideResolver, kt as GradersClient, l as defineReplayRegistry, ln as ScenarioDataAppend, lr as AssertionCategoriesClient, lt as ReplayOptions, m as __version__, mn as TraceAssertion, mr as CategorySummary, mt as reportReplayProgress, n as ReplayRegistration, nn as SaveScenarioData, nr as UpdateDatasetParams, nt as DbBranchReplayError, o as ReseedRegistryResult, on as ScenarioAction, or as VercelGenerateResult, ot as ReplayItem, p as DEFAULT_SERVICE_URL, pn as ScenarioTrigger, pr as Category, pt as TraceIngestionType, q as BitfabRivetIntegration, qn as GraderRerunStatus, qr as ApprovalFields, qt as AssertionGenerationError, r as ReplayRegistry, rn as SaveScenarioHistoryEntry, rr as BitfabLanguageModelMiddleware, rt as MockStrategy, s as SeedCase, sn as ScenarioActualOutcome, sr as VercelStreamResult, st as ReplayItemFinishProgress, t as ReplayOptionsFactory, tn as SaveScenarioActualOutcome, tr as SaveDatasetResult, tt as DbBranchOptions, u as reseedFromRegistry, un as ScenarioDataOrigin, ur as AssertionCategory, ut as ReplayProgress, v as BitfabFunction, vn as TraceSearchFilters, vr as CodeChangeFile, vt as OrganizationMember, w as NodeOptions, wn as Experiment, wr as flushTraces, wt as GetGraderLabelsParams, x as CurrentTrace, xn as TraceTarget, xr as SpanOccurrence, xt as BitfabLangGraphIntegration, y as CaptureWhen, yn as TraceSearchParams, yr as HttpClient, yt as OrganizationMembersClient, z as BitfabOpenAITracingProcessor, zn as Dataset, zr as SUPPORTED_PROVIDERS, zt as LabelTarget } from "./index-C2b7Qyjw.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, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionVerdict, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioHistoryEntry, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type WrapBAMLOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
1
+ import { $ as AdaptInputsFn, $n as RemoveDatasetGradersResult, $r as Assignee, $t as GenerateAssertionsOptions, A as SpanMethodDecoratorContext, An as ExperimentJitter, Ar as MockOverrideCtx, At as ArchiveLabelTarget, B as TraceResponse, Bn as AddDatasetGradersResult, Br as DbSnapshotProvider, Bt as LabelUpdate, C as NodeMethodDecorator, Cn as TraceSearchResult, Cr as SpanLookup, Ct as BitfabLangGraphCallbackHandler, D as SeedCaseOptions, Dn as Experiment, Dr as flushTraces, Dt as GraderLabelSource, E as ReseedResult, En as TracesClient, Er as TokenUsage, Et as GraderLabelOutcome, F as getCurrentSpan, Fn as ExperimentStatus, Fr as NodeMatcher, Ft as LabelConfidence, G as SpanListResult, Gn as DatasetsClient, Gr as SelectiveReplayOptions, Gt as AssertionEvidenceParameter, H as ListedSpan, Hn as Dataset, Hr as SUPPORTED_PROVIDERS, Ht as TraceLabels, I as getCurrentTrace, In as ExperimentTally, Ir as SpanNodeMeta, It as LabelOutcome, J as RivetContextLike, Jn as GraderRerunProgress, Jr as BamlExecutionResult, Jt as AssertionGenerationStatus, K as SpansClient, Kn as GraderRerun, Kr as SelectiveReplayReport, Kt as AssertionGeneration, L as CaptureSurface, Ln as ExperimentTotals, Lr as BitfabError, Lt as LabelSource, M as WrapBAMLOptions, Mn as ExperimentRollup, Mr as MockOverrideResolver, Mt as HumanLabelOutcome, N as WrappedBamlFn, Nn as ExperimentRollupResult, Nr as MockValue, Nt as HumanLabelUpdate, O as SeedRunOptions, On as ExperimentCategoryTally, Or as DbBranchTimings, Ot as GraderLabelUpdate, P as getCurrentReplayBranch, Pn as ExperimentRunBy, Pr as NO_MOCK_OVERRIDE, Pt as LabelAction, Q as AdaptContext, Qn as ListDatasetsParams, Qr as Approver, Qt as AssertionRewriteStatus, R as ActiveSpanContext, Rn as ExperimentsClient, Rr as MixedTracingError, Rt as LabelStatus, S as DetachedTrace, Sn as TraceSearchParams, Sr as HttpClient, St as LangGraphIntegrationOptions, T as ReseedOptions, Tn as TraceTargetOccurrence, Tr as SpanType, Tt as GraderLabel, U as SpanListField, Un as DatasetGraderRef, Ur as ReplayNodeIdentity, Ut as Verdict, V as TracingProcessor, Vn as AddDatasetTracesResult, Vr as DbSnapshotRef, Vt as LabelsClient, W as SpanListParams, Wn as DatasetTraceIds, Wr as SelectiveReplayDecision, Wt as ArchiveAssertionsParams, X as RivetIntegrationOptions, Xn as GraderRerunStatus, Xr as ApprovalFields, Xt as AssertionLabelEvidence, Y as RivetEffectType, Yn as GraderRerunResult, Yr as ProviderDefinition, Yt as AssertionGenerationTimeoutError, Z as ReplayBranch, Zn as GraderRerunTimeoutError, Zr as ApprovalState, Zt as AssertionRewrite, _ as BitfabConfig, _n as TraceAssertion, _r as CategorySummary, _t as ReplayInterruptSignal, a as ReplayRegistryOptions, an as SaveScenarioHistoryEntry, ar as UpdateDatasetParams, at as ReplayExperiment, b as CurrentSpan, bn as TraceAssertionsUpdate, br as CapturedSpan, bt as BitfabOpenAIAgentHandler, c as SeedResult, cn as Scenario, cr as VercelCallParams, ct as ReplayItemStartProgress, d as seedFromRegistry, dn as ScenarioData, dr as BitfabClaudeAgentHandler, dt as ReplayProgressItem, ei as Justification, en as SaveAssertion, er as RemoveDatasetTracesResult, et as BITFAB_PROGRESS_PREFIX, f as finalizers, fn as ScenarioDataAppend, fr as AssertionCategoriesClient, ft as ReplayResult, g as Bitfab, gn as ScenarioTrigger, gr as Category, gt as ReplayInterrupt, h as CommitRef, hn as ScenarioSource, hr as CategoriesClient, ht as serializeReplayResult, i as ReplayRegistryContext, in as SaveScenarioData, ir as SaveDatasetResult, it as ReplayError, j as SpanOptions, jn as ExperimentPage, jr as MockOverrideInput, jt as AssertionVerdict, k as SpanMethodDecorator, kn as ExperimentCodeChangeTotals, kr as MockOverride, kt as GradersClient, l as defineReplayRegistry, ln as ScenarioAction, lr as VercelGenerateResult, lt as ReplayOptions, m as __version__, mn as ScenarioHistoryEntry, mr as AssertionCategorySummary, mt as reportReplayProgress, n as ReplayRegistration, nn as SaveAssertionsParams, nr as RerunGradersResult, nt as DbBranchReplayError, o as ReseedRegistryResult, on as SaveScenarioParams, or as BitfabLanguageModelMiddleware, ot as ReplayItem, p as DEFAULT_SERVICE_URL, pn as ScenarioDataOrigin, pr as AssertionCategory, pt as TraceIngestionType, q as BitfabRivetIntegration, qn as GraderRerunError, qr as AllowedEnvVars, qt as AssertionGenerationError, r as ReplayRegistry, rn as SaveScenarioActualOutcome, rr as SaveDatasetParams, rt as MockStrategy, s as SeedCase, sn as SavedTraceAssertion, sr as BitfabVercelAiHandler, st as ReplayItemFinishProgress, t as ReplayOptionsFactory, ti as JustificationSpan, tn as SaveAssertionsAllParams, tr as RerunGradersOptions, tt as DbBranchOptions, u as reseedFromRegistry, un as ScenarioActualOutcome, ur as VercelStreamResult, ut as ReplayProgress, v as BitfabFunction, vn as TraceAssertionSource, vr as SaveAssertionCategoryParams, vt as OrganizationMember, w as NodeOptions, wn as TraceTarget, wr as SpanOccurrence, wt as GetGraderLabelsParams, x as CurrentTrace, xn as TraceSearchFilters, xr as CodeChangeFile, xt as BitfabLangGraphIntegration, y as CaptureWhen, yn as TraceAssertionsResult, yr as SaveCategoryParams, yt as OrganizationMembersClient, z as BitfabOpenAITracingProcessor, zn as ListExperimentsParams, zr as DbSnapshotConfig, zt as LabelTarget } from "./index-QF59Xb54.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, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type 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, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type WrapBAMLOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- import { A as SUPPORTED_PROVIDERS, C as BitfabOpenAIAgentHandler, D as LabelsClient, E as BitfabLangGraphCallbackHandler, F as DEFAULT_SERVICE_URL, I as AssertionCategoriesClient, L as CategoriesClient, M as GraderRerunError, N as GraderRerunTimeoutError, O as GradersClient, P as BitfabClaudeAgentHandler, S as OrganizationMembersClient, T as BitfabLangGraphIntegration, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as DatasetsClient, k as ExperimentsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as NO_MOCK_OVERRIDE, x as serializeReplayResult, y as ReplayError } from "./src-DYCb-06l.js";
2
- import { S as MixedTracingError, i as flushTraces, t as HttpClient, w as __version__, x as BitfabError } from "./http-DUDL3FGE.js";
1
+ import { A as SUPPORTED_PROVIDERS, C as BitfabOpenAIAgentHandler, D as LabelsClient, E as BitfabLangGraphCallbackHandler, F as DEFAULT_SERVICE_URL, I as AssertionCategoriesClient, L as CategoriesClient, M as GraderRerunError, N as GraderRerunTimeoutError, O as GradersClient, P as BitfabClaudeAgentHandler, S as OrganizationMembersClient, T as BitfabLangGraphIntegration, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as DatasetsClient, k as ExperimentsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as NO_MOCK_OVERRIDE, x as serializeReplayResult, y as ReplayError } from "./src-i0n2ZuJo.js";
2
+ import { S as MixedTracingError, i as flushTraces, t as HttpClient, w as __version__, x as BitfabError } from "./http-BsQE3J6v.js";
3
3
  export { AssertionCategoriesClient, AssertionGenerationError, AssertionGenerationTimeoutError, BITFAB_PROGRESS_PREFIX, Bitfab, BitfabClaudeAgentHandler, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, CategoriesClient, DEFAULT_SERVICE_URL, DatasetsClient, DbBranchReplayError, ExperimentsClient, GraderRerunError, GraderRerunTimeoutError, GradersClient, HttpClient, LabelsClient, MixedTracingError, NO_MOCK_OVERRIDE, OrganizationMembersClient, ReplayError, SUPPORTED_PROVIDERS, SpansClient, TracesClient, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/node.cjs CHANGED
@@ -2,8 +2,8 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_src = require("./src-BWZx-C1S.cjs");
6
- const require_http = require("./http-DX-fpUSu.cjs");
5
+ const require_src = require("./src-Cgw_Bw4p.cjs");
6
+ const require_http = require("./http-CbiIR-Z6.cjs");
7
7
  const require_autoTrace = require("./autoTrace-CQw0qMBt.cjs");
8
8
  let async_hooks = require("async_hooks");
9
9
  //#region src/asyncStorageNode.ts
package/dist/node.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as AdaptInputsFn, $n as RerunGradersResult, $t as SaveAssertionsAllParams, A as SpanMethodDecoratorContext, An as ExperimentRollupResult, Ar as MockValue, At as ArchiveLabelTarget, B as TraceResponse, Bn as DatasetGraderRef, Br as ReplayNodeIdentity, Bt as LabelUpdate, C as NodeMethodDecorator, Cn as TracesClient, Cr as TokenUsage, Ct as BitfabLangGraphCallbackHandler, D as SeedCaseOptions, Dn as ExperimentJitter, Dr as MockOverrideCtx, Dt as GraderLabelSource, E as ReseedResult, En as ExperimentCodeChangeTotals, Er as MockOverride, Et as GraderLabelOutcome, F as getCurrentSpan, Fn as ExperimentsClient, Fr as MixedTracingError, Ft as LabelConfidence, G as SpanListResult, Gn as GraderRerunProgress, Gr as BamlExecutionResult, Gt as AssertionEvidenceParameter, H as ListedSpan, Hn as DatasetsClient, Hr as SelectiveReplayOptions, Ht as TraceLabels, I as getCurrentTrace, In as ListExperimentsParams, Ir as DbSnapshotConfig, It as LabelOutcome, J as RivetContextLike, Jn as GraderRerunTimeoutError, Jr as ApprovalState, Jt as AssertionGenerationStatus, K as SpansClient, Kn as GraderRerunResult, Kr as ProviderDefinition, Kt as AssertionGeneration, L as CaptureSurface, Ln as AddDatasetGradersResult, Lr as DbSnapshotProvider, Lt as LabelSource, M as WrapBAMLOptions, Mn as ExperimentStatus, Mr as NodeMatcher, Mt as HumanLabelOutcome, N as WrappedBamlFn, Nn as ExperimentTally, Nr as SpanNodeMeta, Nt as HumanLabelUpdate, O as SeedRunOptions, On as ExperimentPage, Or as MockOverrideInput, Ot as GraderLabelUpdate, P as getCurrentReplayBranch, Pn as ExperimentTotals, Pr as BitfabError, Pt as LabelAction, Q as AdaptContext, Qn as RerunGradersOptions, Qr as JustificationSpan, Qt as SaveAssertion, R as ActiveSpanContext, Rn as AddDatasetTracesResult, Rr as DbSnapshotRef, Rt as LabelStatus, S as DetachedTrace, Sn as TraceTargetOccurrence, Sr as SpanType, St as LangGraphIntegrationOptions, T as ReseedOptions, Tn as ExperimentCategoryTally, Tr as DbBranchTimings, Tt as GraderLabel, U as SpanListField, Un as GraderRerun, Ur as SelectiveReplayReport, Ut as Verdict, V as TracingProcessor, Vn as DatasetTraceIds, Vr as SelectiveReplayDecision, Vt as LabelsClient, W as SpanListParams, Wn as GraderRerunError, Wr as AllowedEnvVars, Wt as ArchiveAssertionsParams, X as RivetIntegrationOptions, Xn as RemoveDatasetGradersResult, Xr as Assignee, Xt as AssertionLabelEvidence, Y as RivetEffectType, Yn as ListDatasetsParams, Yr as Approver, Yt as AssertionGenerationTimeoutError, Z as ReplayBranch, Zn as RemoveDatasetTracesResult, Zr as Justification, Zt as GenerateAssertionsOptions, _ as BitfabConfig, _n as TraceAssertionsUpdate, _r as CapturedSpan, _t as ReplayInterruptSignal, a as ReplayRegistryOptions, an as Scenario, ar as VercelCallParams, at as ReplayExperiment, b as CurrentSpan, bn as TraceSearchResult, br as SpanLookup, bt as BitfabOpenAIAgentHandler, c as SeedResult, cn as ScenarioData, cr as BitfabClaudeAgentHandler, ct as ReplayItemStartProgress, d as seedFromRegistry, dn as ScenarioHistoryEntry, dr as AssertionCategorySummary, dt as ReplayProgressItem, en as SaveAssertionsParams, er as SaveDatasetParams, et as BITFAB_PROGRESS_PREFIX, f as finalizers, fn as ScenarioSource, fr as CategoriesClient, ft as ReplayResult, g as Bitfab, gn as TraceAssertionsResult, gr as SaveCategoryParams, gt as ReplayInterrupt, h as CommitRef, hn as TraceAssertionSource, hr as SaveAssertionCategoryParams, ht as serializeReplayResult, i as ReplayRegistryContext, in as SaveScenarioParams, ir as BitfabVercelAiHandler, it as ReplayError, j as SpanOptions, jn as ExperimentRunBy, jr as NO_MOCK_OVERRIDE, jt as AssertionVerdict, k as SpanMethodDecorator, kn as ExperimentRollup, kr as MockOverrideResolver, kt as GradersClient, l as defineReplayRegistry, ln as ScenarioDataAppend, lr as AssertionCategoriesClient, lt as ReplayOptions, m as __version__, mn as TraceAssertion, mr as CategorySummary, mt as reportReplayProgress, n as ReplayRegistration, nn as SaveScenarioData, nr as UpdateDatasetParams, nt as DbBranchReplayError, o as ReseedRegistryResult, on as ScenarioAction, or as VercelGenerateResult, ot as ReplayItem, p as DEFAULT_SERVICE_URL, pn as ScenarioTrigger, pr as Category, pt as TraceIngestionType, q as BitfabRivetIntegration, qn as GraderRerunStatus, qr as ApprovalFields, qt as AssertionGenerationError, r as ReplayRegistry, rn as SaveScenarioHistoryEntry, rr as BitfabLanguageModelMiddleware, rt as MockStrategy, s as SeedCase, sn as ScenarioActualOutcome, sr as VercelStreamResult, st as ReplayItemFinishProgress, t as ReplayOptionsFactory, tn as SaveScenarioActualOutcome, tr as SaveDatasetResult, tt as DbBranchOptions, u as reseedFromRegistry, un as ScenarioDataOrigin, ur as AssertionCategory, ut as ReplayProgress, v as BitfabFunction, vn as TraceSearchFilters, vr as CodeChangeFile, vt as OrganizationMember, w as NodeOptions, wn as Experiment, wr as flushTraces, wt as GetGraderLabelsParams, x as CurrentTrace, xn as TraceTarget, xr as SpanOccurrence, xt as BitfabLangGraphIntegration, y as CaptureWhen, yn as TraceSearchParams, yr as HttpClient, yt as OrganizationMembersClient, z as BitfabOpenAITracingProcessor, zn as Dataset, zr as SUPPORTED_PROVIDERS, zt as LabelTarget } from "./index-C2b7Qyjw.cjs";
2
- export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionVerdict, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioHistoryEntry, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type WrapBAMLOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
1
+ import { $ as AdaptInputsFn, $n as RemoveDatasetGradersResult, $r as Assignee, $t as GenerateAssertionsOptions, A as SpanMethodDecoratorContext, An as ExperimentJitter, Ar as MockOverrideCtx, At as ArchiveLabelTarget, B as TraceResponse, Bn as AddDatasetGradersResult, Br as DbSnapshotProvider, Bt as LabelUpdate, C as NodeMethodDecorator, Cn as TraceSearchResult, Cr as SpanLookup, Ct as BitfabLangGraphCallbackHandler, D as SeedCaseOptions, Dn as Experiment, Dr as flushTraces, Dt as GraderLabelSource, E as ReseedResult, En as TracesClient, Er as TokenUsage, Et as GraderLabelOutcome, F as getCurrentSpan, Fn as ExperimentStatus, Fr as NodeMatcher, Ft as LabelConfidence, G as SpanListResult, Gn as DatasetsClient, Gr as SelectiveReplayOptions, Gt as AssertionEvidenceParameter, H as ListedSpan, Hn as Dataset, Hr as SUPPORTED_PROVIDERS, Ht as TraceLabels, I as getCurrentTrace, In as ExperimentTally, Ir as SpanNodeMeta, It as LabelOutcome, J as RivetContextLike, Jn as GraderRerunProgress, Jr as BamlExecutionResult, Jt as AssertionGenerationStatus, K as SpansClient, Kn as GraderRerun, Kr as SelectiveReplayReport, Kt as AssertionGeneration, L as CaptureSurface, Ln as ExperimentTotals, Lr as BitfabError, Lt as LabelSource, M as WrapBAMLOptions, Mn as ExperimentRollup, Mr as MockOverrideResolver, Mt as HumanLabelOutcome, N as WrappedBamlFn, Nn as ExperimentRollupResult, Nr as MockValue, Nt as HumanLabelUpdate, O as SeedRunOptions, On as ExperimentCategoryTally, Or as DbBranchTimings, Ot as GraderLabelUpdate, P as getCurrentReplayBranch, Pn as ExperimentRunBy, Pr as NO_MOCK_OVERRIDE, Pt as LabelAction, Q as AdaptContext, Qn as ListDatasetsParams, Qr as Approver, Qt as AssertionRewriteStatus, R as ActiveSpanContext, Rn as ExperimentsClient, Rr as MixedTracingError, Rt as LabelStatus, S as DetachedTrace, Sn as TraceSearchParams, Sr as HttpClient, St as LangGraphIntegrationOptions, T as ReseedOptions, Tn as TraceTargetOccurrence, Tr as SpanType, Tt as GraderLabel, U as SpanListField, Un as DatasetGraderRef, Ur as ReplayNodeIdentity, Ut as Verdict, V as TracingProcessor, Vn as AddDatasetTracesResult, Vr as DbSnapshotRef, Vt as LabelsClient, W as SpanListParams, Wn as DatasetTraceIds, Wr as SelectiveReplayDecision, Wt as ArchiveAssertionsParams, X as RivetIntegrationOptions, Xn as GraderRerunStatus, Xr as ApprovalFields, Xt as AssertionLabelEvidence, Y as RivetEffectType, Yn as GraderRerunResult, Yr as ProviderDefinition, Yt as AssertionGenerationTimeoutError, Z as ReplayBranch, Zn as GraderRerunTimeoutError, Zr as ApprovalState, Zt as AssertionRewrite, _ as BitfabConfig, _n as TraceAssertion, _r as CategorySummary, _t as ReplayInterruptSignal, a as ReplayRegistryOptions, an as SaveScenarioHistoryEntry, ar as UpdateDatasetParams, at as ReplayExperiment, b as CurrentSpan, bn as TraceAssertionsUpdate, br as CapturedSpan, bt as BitfabOpenAIAgentHandler, c as SeedResult, cn as Scenario, cr as VercelCallParams, ct as ReplayItemStartProgress, d as seedFromRegistry, dn as ScenarioData, dr as BitfabClaudeAgentHandler, dt as ReplayProgressItem, ei as Justification, en as SaveAssertion, er as RemoveDatasetTracesResult, et as BITFAB_PROGRESS_PREFIX, f as finalizers, fn as ScenarioDataAppend, fr as AssertionCategoriesClient, ft as ReplayResult, g as Bitfab, gn as ScenarioTrigger, gr as Category, gt as ReplayInterrupt, h as CommitRef, hn as ScenarioSource, hr as CategoriesClient, ht as serializeReplayResult, i as ReplayRegistryContext, in as SaveScenarioData, ir as SaveDatasetResult, it as ReplayError, j as SpanOptions, jn as ExperimentPage, jr as MockOverrideInput, jt as AssertionVerdict, k as SpanMethodDecorator, kn as ExperimentCodeChangeTotals, kr as MockOverride, kt as GradersClient, l as defineReplayRegistry, ln as ScenarioAction, lr as VercelGenerateResult, lt as ReplayOptions, m as __version__, mn as ScenarioHistoryEntry, mr as AssertionCategorySummary, mt as reportReplayProgress, n as ReplayRegistration, nn as SaveAssertionsParams, nr as RerunGradersResult, nt as DbBranchReplayError, o as ReseedRegistryResult, on as SaveScenarioParams, or as BitfabLanguageModelMiddleware, ot as ReplayItem, p as DEFAULT_SERVICE_URL, pn as ScenarioDataOrigin, pr as AssertionCategory, pt as TraceIngestionType, q as BitfabRivetIntegration, qn as GraderRerunError, qr as AllowedEnvVars, qt as AssertionGenerationError, r as ReplayRegistry, rn as SaveScenarioActualOutcome, rr as SaveDatasetParams, rt as MockStrategy, s as SeedCase, sn as SavedTraceAssertion, sr as BitfabVercelAiHandler, st as ReplayItemFinishProgress, t as ReplayOptionsFactory, ti as JustificationSpan, tn as SaveAssertionsAllParams, tr as RerunGradersOptions, tt as DbBranchOptions, u as reseedFromRegistry, un as ScenarioActualOutcome, ur as VercelStreamResult, ut as ReplayProgress, v as BitfabFunction, vn as TraceAssertionSource, vr as SaveAssertionCategoryParams, vt as OrganizationMember, w as NodeOptions, wn as TraceTarget, wr as SpanOccurrence, wt as GetGraderLabelsParams, x as CurrentTrace, xn as TraceSearchFilters, xr as CodeChangeFile, xt as BitfabLangGraphIntegration, y as CaptureWhen, yn as TraceAssertionsResult, yr as SaveCategoryParams, yt as OrganizationMembersClient, z as BitfabOpenAITracingProcessor, zn as ListExperimentsParams, zr as DbSnapshotConfig, zt as LabelTarget } from "./index-QF59Xb54.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, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type 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, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type WrapBAMLOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/node.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as AdaptInputsFn, $n as RerunGradersResult, $t as SaveAssertionsAllParams, A as SpanMethodDecoratorContext, An as ExperimentRollupResult, Ar as MockValue, At as ArchiveLabelTarget, B as TraceResponse, Bn as DatasetGraderRef, Br as ReplayNodeIdentity, Bt as LabelUpdate, C as NodeMethodDecorator, Cn as TracesClient, Cr as TokenUsage, Ct as BitfabLangGraphCallbackHandler, D as SeedCaseOptions, Dn as ExperimentJitter, Dr as MockOverrideCtx, Dt as GraderLabelSource, E as ReseedResult, En as ExperimentCodeChangeTotals, Er as MockOverride, Et as GraderLabelOutcome, F as getCurrentSpan, Fn as ExperimentsClient, Fr as MixedTracingError, Ft as LabelConfidence, G as SpanListResult, Gn as GraderRerunProgress, Gr as BamlExecutionResult, Gt as AssertionEvidenceParameter, H as ListedSpan, Hn as DatasetsClient, Hr as SelectiveReplayOptions, Ht as TraceLabels, I as getCurrentTrace, In as ListExperimentsParams, Ir as DbSnapshotConfig, It as LabelOutcome, J as RivetContextLike, Jn as GraderRerunTimeoutError, Jr as ApprovalState, Jt as AssertionGenerationStatus, K as SpansClient, Kn as GraderRerunResult, Kr as ProviderDefinition, Kt as AssertionGeneration, L as CaptureSurface, Ln as AddDatasetGradersResult, Lr as DbSnapshotProvider, Lt as LabelSource, M as WrapBAMLOptions, Mn as ExperimentStatus, Mr as NodeMatcher, Mt as HumanLabelOutcome, N as WrappedBamlFn, Nn as ExperimentTally, Nr as SpanNodeMeta, Nt as HumanLabelUpdate, O as SeedRunOptions, On as ExperimentPage, Or as MockOverrideInput, Ot as GraderLabelUpdate, P as getCurrentReplayBranch, Pn as ExperimentTotals, Pr as BitfabError, Pt as LabelAction, Q as AdaptContext, Qn as RerunGradersOptions, Qr as JustificationSpan, Qt as SaveAssertion, R as ActiveSpanContext, Rn as AddDatasetTracesResult, Rr as DbSnapshotRef, Rt as LabelStatus, S as DetachedTrace, Sn as TraceTargetOccurrence, Sr as SpanType, St as LangGraphIntegrationOptions, T as ReseedOptions, Tn as ExperimentCategoryTally, Tr as DbBranchTimings, Tt as GraderLabel, U as SpanListField, Un as GraderRerun, Ur as SelectiveReplayReport, Ut as Verdict, V as TracingProcessor, Vn as DatasetTraceIds, Vr as SelectiveReplayDecision, Vt as LabelsClient, W as SpanListParams, Wn as GraderRerunError, Wr as AllowedEnvVars, Wt as ArchiveAssertionsParams, X as RivetIntegrationOptions, Xn as RemoveDatasetGradersResult, Xr as Assignee, Xt as AssertionLabelEvidence, Y as RivetEffectType, Yn as ListDatasetsParams, Yr as Approver, Yt as AssertionGenerationTimeoutError, Z as ReplayBranch, Zn as RemoveDatasetTracesResult, Zr as Justification, Zt as GenerateAssertionsOptions, _ as BitfabConfig, _n as TraceAssertionsUpdate, _r as CapturedSpan, _t as ReplayInterruptSignal, a as ReplayRegistryOptions, an as Scenario, ar as VercelCallParams, at as ReplayExperiment, b as CurrentSpan, bn as TraceSearchResult, br as SpanLookup, bt as BitfabOpenAIAgentHandler, c as SeedResult, cn as ScenarioData, cr as BitfabClaudeAgentHandler, ct as ReplayItemStartProgress, d as seedFromRegistry, dn as ScenarioHistoryEntry, dr as AssertionCategorySummary, dt as ReplayProgressItem, en as SaveAssertionsParams, er as SaveDatasetParams, et as BITFAB_PROGRESS_PREFIX, f as finalizers, fn as ScenarioSource, fr as CategoriesClient, ft as ReplayResult, g as Bitfab, gn as TraceAssertionsResult, gr as SaveCategoryParams, gt as ReplayInterrupt, h as CommitRef, hn as TraceAssertionSource, hr as SaveAssertionCategoryParams, ht as serializeReplayResult, i as ReplayRegistryContext, in as SaveScenarioParams, ir as BitfabVercelAiHandler, it as ReplayError, j as SpanOptions, jn as ExperimentRunBy, jr as NO_MOCK_OVERRIDE, jt as AssertionVerdict, k as SpanMethodDecorator, kn as ExperimentRollup, kr as MockOverrideResolver, kt as GradersClient, l as defineReplayRegistry, ln as ScenarioDataAppend, lr as AssertionCategoriesClient, lt as ReplayOptions, m as __version__, mn as TraceAssertion, mr as CategorySummary, mt as reportReplayProgress, n as ReplayRegistration, nn as SaveScenarioData, nr as UpdateDatasetParams, nt as DbBranchReplayError, o as ReseedRegistryResult, on as ScenarioAction, or as VercelGenerateResult, ot as ReplayItem, p as DEFAULT_SERVICE_URL, pn as ScenarioTrigger, pr as Category, pt as TraceIngestionType, q as BitfabRivetIntegration, qn as GraderRerunStatus, qr as ApprovalFields, qt as AssertionGenerationError, r as ReplayRegistry, rn as SaveScenarioHistoryEntry, rr as BitfabLanguageModelMiddleware, rt as MockStrategy, s as SeedCase, sn as ScenarioActualOutcome, sr as VercelStreamResult, st as ReplayItemFinishProgress, t as ReplayOptionsFactory, tn as SaveScenarioActualOutcome, tr as SaveDatasetResult, tt as DbBranchOptions, u as reseedFromRegistry, un as ScenarioDataOrigin, ur as AssertionCategory, ut as ReplayProgress, v as BitfabFunction, vn as TraceSearchFilters, vr as CodeChangeFile, vt as OrganizationMember, w as NodeOptions, wn as Experiment, wr as flushTraces, wt as GetGraderLabelsParams, x as CurrentTrace, xn as TraceTarget, xr as SpanOccurrence, xt as BitfabLangGraphIntegration, y as CaptureWhen, yn as TraceSearchParams, yr as HttpClient, yt as OrganizationMembersClient, z as BitfabOpenAITracingProcessor, zn as Dataset, zr as SUPPORTED_PROVIDERS, zt as LabelTarget } from "./index-C2b7Qyjw.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, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionVerdict, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioHistoryEntry, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type WrapBAMLOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
1
+ import { $ as AdaptInputsFn, $n as RemoveDatasetGradersResult, $r as Assignee, $t as GenerateAssertionsOptions, A as SpanMethodDecoratorContext, An as ExperimentJitter, Ar as MockOverrideCtx, At as ArchiveLabelTarget, B as TraceResponse, Bn as AddDatasetGradersResult, Br as DbSnapshotProvider, Bt as LabelUpdate, C as NodeMethodDecorator, Cn as TraceSearchResult, Cr as SpanLookup, Ct as BitfabLangGraphCallbackHandler, D as SeedCaseOptions, Dn as Experiment, Dr as flushTraces, Dt as GraderLabelSource, E as ReseedResult, En as TracesClient, Er as TokenUsage, Et as GraderLabelOutcome, F as getCurrentSpan, Fn as ExperimentStatus, Fr as NodeMatcher, Ft as LabelConfidence, G as SpanListResult, Gn as DatasetsClient, Gr as SelectiveReplayOptions, Gt as AssertionEvidenceParameter, H as ListedSpan, Hn as Dataset, Hr as SUPPORTED_PROVIDERS, Ht as TraceLabels, I as getCurrentTrace, In as ExperimentTally, Ir as SpanNodeMeta, It as LabelOutcome, J as RivetContextLike, Jn as GraderRerunProgress, Jr as BamlExecutionResult, Jt as AssertionGenerationStatus, K as SpansClient, Kn as GraderRerun, Kr as SelectiveReplayReport, Kt as AssertionGeneration, L as CaptureSurface, Ln as ExperimentTotals, Lr as BitfabError, Lt as LabelSource, M as WrapBAMLOptions, Mn as ExperimentRollup, Mr as MockOverrideResolver, Mt as HumanLabelOutcome, N as WrappedBamlFn, Nn as ExperimentRollupResult, Nr as MockValue, Nt as HumanLabelUpdate, O as SeedRunOptions, On as ExperimentCategoryTally, Or as DbBranchTimings, Ot as GraderLabelUpdate, P as getCurrentReplayBranch, Pn as ExperimentRunBy, Pr as NO_MOCK_OVERRIDE, Pt as LabelAction, Q as AdaptContext, Qn as ListDatasetsParams, Qr as Approver, Qt as AssertionRewriteStatus, R as ActiveSpanContext, Rn as ExperimentsClient, Rr as MixedTracingError, Rt as LabelStatus, S as DetachedTrace, Sn as TraceSearchParams, Sr as HttpClient, St as LangGraphIntegrationOptions, T as ReseedOptions, Tn as TraceTargetOccurrence, Tr as SpanType, Tt as GraderLabel, U as SpanListField, Un as DatasetGraderRef, Ur as ReplayNodeIdentity, Ut as Verdict, V as TracingProcessor, Vn as AddDatasetTracesResult, Vr as DbSnapshotRef, Vt as LabelsClient, W as SpanListParams, Wn as DatasetTraceIds, Wr as SelectiveReplayDecision, Wt as ArchiveAssertionsParams, X as RivetIntegrationOptions, Xn as GraderRerunStatus, Xr as ApprovalFields, Xt as AssertionLabelEvidence, Y as RivetEffectType, Yn as GraderRerunResult, Yr as ProviderDefinition, Yt as AssertionGenerationTimeoutError, Z as ReplayBranch, Zn as GraderRerunTimeoutError, Zr as ApprovalState, Zt as AssertionRewrite, _ as BitfabConfig, _n as TraceAssertion, _r as CategorySummary, _t as ReplayInterruptSignal, a as ReplayRegistryOptions, an as SaveScenarioHistoryEntry, ar as UpdateDatasetParams, at as ReplayExperiment, b as CurrentSpan, bn as TraceAssertionsUpdate, br as CapturedSpan, bt as BitfabOpenAIAgentHandler, c as SeedResult, cn as Scenario, cr as VercelCallParams, ct as ReplayItemStartProgress, d as seedFromRegistry, dn as ScenarioData, dr as BitfabClaudeAgentHandler, dt as ReplayProgressItem, ei as Justification, en as SaveAssertion, er as RemoveDatasetTracesResult, et as BITFAB_PROGRESS_PREFIX, f as finalizers, fn as ScenarioDataAppend, fr as AssertionCategoriesClient, ft as ReplayResult, g as Bitfab, gn as ScenarioTrigger, gr as Category, gt as ReplayInterrupt, h as CommitRef, hn as ScenarioSource, hr as CategoriesClient, ht as serializeReplayResult, i as ReplayRegistryContext, in as SaveScenarioData, ir as SaveDatasetResult, it as ReplayError, j as SpanOptions, jn as ExperimentPage, jr as MockOverrideInput, jt as AssertionVerdict, k as SpanMethodDecorator, kn as ExperimentCodeChangeTotals, kr as MockOverride, kt as GradersClient, l as defineReplayRegistry, ln as ScenarioAction, lr as VercelGenerateResult, lt as ReplayOptions, m as __version__, mn as ScenarioHistoryEntry, mr as AssertionCategorySummary, mt as reportReplayProgress, n as ReplayRegistration, nn as SaveAssertionsParams, nr as RerunGradersResult, nt as DbBranchReplayError, o as ReseedRegistryResult, on as SaveScenarioParams, or as BitfabLanguageModelMiddleware, ot as ReplayItem, p as DEFAULT_SERVICE_URL, pn as ScenarioDataOrigin, pr as AssertionCategory, pt as TraceIngestionType, q as BitfabRivetIntegration, qn as GraderRerunError, qr as AllowedEnvVars, qt as AssertionGenerationError, r as ReplayRegistry, rn as SaveScenarioActualOutcome, rr as SaveDatasetParams, rt as MockStrategy, s as SeedCase, sn as SavedTraceAssertion, sr as BitfabVercelAiHandler, st as ReplayItemFinishProgress, t as ReplayOptionsFactory, ti as JustificationSpan, tn as SaveAssertionsAllParams, tr as RerunGradersOptions, tt as DbBranchOptions, u as reseedFromRegistry, un as ScenarioActualOutcome, ur as VercelStreamResult, ut as ReplayProgress, v as BitfabFunction, vn as TraceAssertionSource, vr as SaveAssertionCategoryParams, vt as OrganizationMember, w as NodeOptions, wn as TraceTarget, wr as SpanOccurrence, wt as GetGraderLabelsParams, x as CurrentTrace, xn as TraceSearchFilters, xr as CodeChangeFile, xt as BitfabLangGraphIntegration, y as CaptureWhen, yn as TraceAssertionsResult, yr as SaveCategoryParams, yt as OrganizationMembersClient, z as BitfabOpenAITracingProcessor, zn as ListExperimentsParams, zr as DbSnapshotConfig, zt as LabelTarget } from "./index-QF59Xb54.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, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type 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, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type WrapBAMLOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/node.js CHANGED
@@ -1,5 +1,5 @@
1
- import { A as SUPPORTED_PROVIDERS, C as BitfabOpenAIAgentHandler, D as LabelsClient, E as BitfabLangGraphCallbackHandler, F as DEFAULT_SERVICE_URL, I as AssertionCategoriesClient, L as CategoriesClient, M as GraderRerunError, N as GraderRerunTimeoutError, O as GradersClient, P as BitfabClaudeAgentHandler, S as OrganizationMembersClient, T as BitfabLangGraphIntegration, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as DatasetsClient, k as ExperimentsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as NO_MOCK_OVERRIDE, x as serializeReplayResult, y as ReplayError } from "./src-DYCb-06l.js";
2
- import { S as MixedTracingError, i as flushTraces, t as HttpClient, w as __version__, x as BitfabError } from "./http-DUDL3FGE.js";
1
+ import { A as SUPPORTED_PROVIDERS, C as BitfabOpenAIAgentHandler, D as LabelsClient, E as BitfabLangGraphCallbackHandler, F as DEFAULT_SERVICE_URL, I as AssertionCategoriesClient, L as CategoriesClient, M as GraderRerunError, N as GraderRerunTimeoutError, O as GradersClient, P as BitfabClaudeAgentHandler, S as OrganizationMembersClient, T as BitfabLangGraphIntegration, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as DatasetsClient, k as ExperimentsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as NO_MOCK_OVERRIDE, x as serializeReplayResult, y as ReplayError } from "./src-i0n2ZuJo.js";
2
+ import { S as MixedTracingError, i as flushTraces, t as HttpClient, w as __version__, x as BitfabError } from "./http-BsQE3J6v.js";
3
3
  import { _ as assertAsyncStorageRegistered, x as registerAsyncLocalStorageClass } from "./autoTrace-O40k8f5M.js";
4
4
  import { AsyncLocalStorage } from "async_hooks";
5
5
  //#region src/asyncStorageNode.ts