bitfab 0.68.7 → 0.68.8

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.
@@ -2045,6 +2045,18 @@ type ArchiveAssertionsParams = {
2045
2045
  traceId: string;
2046
2046
  assertionIds: string[];
2047
2047
  };
2048
+ /**
2049
+ * What `generateScenario` started. `started`: Bitfab is building the
2050
+ * scenario in the background, and `getScenario` reads it once it is ready.
2051
+ * `already_generated`: the trace already has a scenario, so nothing was
2052
+ * started and `scenarioId` names it.
2053
+ */
2054
+ type ScenarioGeneration = {
2055
+ status: "started" | "already_generated";
2056
+ traceId: string;
2057
+ /** The trace's scenario, or null while it has none yet. */
2058
+ scenarioId: string | null;
2059
+ };
2048
2060
  type GenerateAssertionsOptions = {
2049
2061
  guidance?: string;
2050
2062
  categoryIds?: string[];
@@ -2087,6 +2099,15 @@ declare class TracesClient {
2087
2099
  generateAssertions(traceId: string, options?: GenerateAssertionsOptions): Promise<TraceAssertion[]>;
2088
2100
  archiveAssertions(params: ArchiveAssertionsParams): Promise<string[]>;
2089
2101
  getScenario(traceId: string): Promise<Scenario>;
2102
+ /**
2103
+ * Start building the scenario for one trace and return at once, without
2104
+ * waiting for it. Read it later with `getScenario`. A trace that already has
2105
+ * a scenario is left as it is. A replay, a trace outside the organization,
2106
+ * or a trace Bitfab cannot build a scenario for (not `noah-agent-turn` and
2107
+ * no scenario callback) is refused. Adding a trace to a dataset starts the
2108
+ * same build only when the organization has a scenario callback.
2109
+ */
2110
+ generateScenario(traceId: string): Promise<ScenarioGeneration>;
2090
2111
  saveScenario({ traceId, ...edit }: SaveScenarioParams): Promise<Scenario>;
2091
2112
  }
2092
2113
  //#endregion
@@ -4969,7 +4990,7 @@ interface CommitRef {
4969
4990
  /**
4970
4991
  * SDK version from package.json (injected at build time)
4971
4992
  */
4972
- declare const __version__ = "0.68.7";
4993
+ declare const __version__ = "0.68.8";
4973
4994
  //#endregion
4974
4995
  //#region src/constants.d.ts
4975
4996
  /**
@@ -5111,4 +5132,4 @@ declare function seedFromRegistry(registry: ReplayRegistry, pipeline: string, ca
5111
5132
  run?: boolean;
5112
5133
  }): Promise<SeedResult>;
5113
5134
  //#endregion
5114
- export { RivetEffectType as $, TraceTargetOccurrence as $n, SpanType as $r, LabelTarget as $t, SpanMethodDecoratorContext as A, SaveScenarioHistoryEntry as An, RerunGradersResult as Ar, GetGraderLabelsParams as At, getCurrentTrace as B, ScenarioHistoryEntry as Bn, AssertionCategoriesClient as Br, GradersClient as Bt, NodeMethodDecorator as C, ProviderDefinition as Ci, AssertionVerdictEvidence as Cn, GraderRerunResult as Cr, OrganizationMembersClient as Ct, SeedCaseOptions as D, Assignee as Di, SaveAssertionsParams as Dn, RemoveDatasetGradersResult as Dr, BitfabLangGraphIntegration as Dt, ReseedResult as E, Approver as Ei, SaveAssertionsAllParams as En, ListDatasetsParams as Er, BitfabLangGraphAgent as Et, WrapOpenAIResponsesOptions as F, ScenarioActualOutcome as Fn, BitfabVercelAiHandler as Fr, GraderLabelUpdate as Ft, TracingProcessor as G, TraceAssertion as Gn, CategorySummary as Gr, HumanLabelUpdate as Gt, ActiveSpanContext as H, ScenarioRecordInput as Hn, AssertionCategorySummary as Hr, ArchiveVerdictTarget as Ht, WrapOpenRouterOptions as I, ScenarioData as In, VercelCallParams as Ir, GraderVerdict as It, SpanListParams as J, TraceAssertionsUpdate as Jn, CapturedSpan as Jr, LabelAction as Jt, ListedSpan as K, TraceAssertionSource as Kn, SaveAssertionCategoryParams as Kr, HumanVerdictOutcome as Kt, WrappedBamlFn as L, ScenarioDataAppend as Ln, VercelGenerateResult as Lr, GraderVerdictOutcome as Lt, WrapAnthropicOptions as M, SavedTraceAssertion as Mn, SaveDatasetResult as Mr, GraderLabel as Mt, WrapBAMLOptions as N, Scenario as Nn, UpdateDatasetParams as Nr, GraderLabelOutcome as Nt, SeedRunOptions as O, Justification as Oi, SaveScenarioActualOutcome as On, RemoveDatasetTracesResult as Or, LangGraphIntegrationOptions as Ot, WrapJevOptions as P, ScenarioAction as Pn, BitfabLanguageModelMiddleware as Pr, GraderLabelSource as Pt, RivetContextLike as Q, TraceTarget as Qn, SpanOccurrence as Qr, LabelStatus as Qt, getCurrentReplayBranch as R, ScenarioDataOrigin as Rn, VercelStreamResult as Rr, GraderVerdictSource as Rt, DetachedTrace as S, BamlExecutionResult as Si, AssertionRewriteStatus as Sn, GraderRerunProgress as Sr, OrganizationMember as St, ReseedOptions as T, ApprovalState as Ti, SaveAssertion as Tn, GraderRerunTimeoutError as Tr, BitfabAgentMiddleware as Tt, BitfabOpenAITracingProcessor as U, ScenarioSource as Un, CategoriesClient as Ur, AssertionVerdict as Ut, CaptureSurface as V, ScenarioRecord as Vn, AssertionCategory as Vr, ArchiveLabelTarget as Vt, TraceResponse as W, ScenarioTrigger as Wn, Category as Wr, HumanLabelOutcome as Wt, SpansClient as X, TraceSearchParams as Xn, HttpClient as Xr, LabelOutcome as Xt, SpanListResult as Y, TraceSearchFilters as Yn, CodeChangeFile as Yr, LabelConfidence as Yt, BitfabRivetIntegration as Z, TraceSearchResult as Zn, SpanLookup as Zr, LabelSource as Zt, BitfabConfig as _, ReplayNodeIdentity as _i, AssertionGenerationError as _n, DatasetGraderRef as _r, TraceIngestionType as _t, ReplayRegistryOptions as a, MockOverrideInput as ai, Verdict as an, ExperimentPage as ar, DbBranchOptions as at, CurrentSpan as b, SelectiveReplayReport as bi, AssertionLabelEvidence as bn, GraderRerun as br, ReplayInterrupt as bt, SeedResult as c, NO_MOCK_OVERRIDE as ci, VerdictOutcome as cn, ExperimentRunBy as cr, ReplayError as ct, seedFromRegistry as d, BitfabError as di, VerdictTarget as dn, ExperimentTotals as dr, ReplayItemFinishProgress as dt, TokenUsage as ei, LabelUpdate as en, TracesClient as er, RivetIntegrationOptions as et, finalizers as f, MixedTracingError as fi, VerdictUpdate as fn, ExperimentsClient as fr, ReplayItemStartProgress as ft, Bitfab as g, SUPPORTED_PROVIDERS as gi, AssertionGeneration as gn, Dataset as gr, ReplayResult as gt, CommitRef as h, DbSnapshotRef as hi, AssertionEvidenceParameter as hn, AddDatasetTracesResult as hr, ReplayProgressItem as ht, ReplayRegistryContext as i, MockOverrideCtx as ii, TraceVerdicts as in, ExperimentJitter as ir, BITFAB_PROGRESS_PREFIX as it, SpanOptions as j, SaveScenarioParams as jn, SaveDatasetParams as jr, GetGraderVerdictsParams as jt, SpanMethodDecorator as k, JustificationSpan as ki, SaveScenarioData as kn, RerunGradersOptions as kr, BitfabLangGraphCallbackHandler as kt, defineReplayRegistry as l, NodeMatcher as li, VerdictSource as ln, ExperimentStatus as lr, ReplayExperiment as lt, __version__ as m, DbSnapshotProvider as mi, ArchiveAssertionsParams as mn, AddDatasetGradersResult as mr, ReplayProgress as mt, ReplayRegistration as n, DbBranchTimings as ni, PassFailVerdict as nn, ExperimentCategoryTally as nr, AdaptContext as nt, ReseedRegistryResult as o, MockOverrideResolver as oi, VerdictAction as on, ExperimentRollup as or, DbBranchReplayError as ot, DEFAULT_SERVICE_URL as p, DbSnapshotConfig as pi, VerdictsClient as pn, ListExperimentsParams as pr, ReplayOptions as pt, SpanListField as q, TraceAssertionsResult as qn, SaveCategoryParams as qr, HumanVerdictUpdate as qt, ReplayRegistry as r, MockOverride as ri, TraceLabels as rn, ExperimentCodeChangeTotals as rr, AdaptInputsFn as rt, SeedCase as s, MockValue as si, VerdictConfidence as sn, ExperimentRollupResult as sr, MockStrategy as st, ReplayOptionsFactory as t, flushTraces as ti, LabelsClient as tn, Experiment as tr, ReplayBranch as tt, reseedFromRegistry as u, SpanNodeMeta as ui, VerdictStatus as un, ExperimentTally as ur, ReplayItem as ut, BitfabFunction as v, SelectiveReplayDecision as vi, AssertionGenerationStatus as vn, DatasetTraceIds as vr, reportReplayProgress as vt, NodeOptions as w, ApprovalFields as wi, GenerateAssertionsOptions as wn, GraderRerunStatus as wr, BitfabOpenAIAgentHandler as wt, CurrentTrace as x, AllowedEnvVars as xi, AssertionRewrite as xn, GraderRerunError as xr, ReplayInterruptSignal as xt, CaptureWhen as y, SelectiveReplayOptions as yi, AssertionGenerationTimeoutError as yn, DatasetsClient as yr, serializeReplayResult as yt, getCurrentSpan as z, ScenarioDataSources as zn, BitfabClaudeAgentHandler as zr, GraderVerdictUpdate as zt };
5135
+ export { RivetEffectType as $, TraceTarget as $n, SpanOccurrence as $r, LabelTarget as $t, SpanMethodDecoratorContext as A, JustificationSpan as Ai, SaveScenarioHistoryEntry as An, RerunGradersOptions as Ar, GetGraderLabelsParams as At, getCurrentTrace as B, ScenarioGeneration as Bn, BitfabClaudeAgentHandler as Br, GradersClient as Bt, NodeMethodDecorator as C, BamlExecutionResult as Ci, AssertionVerdictEvidence as Cn, GraderRerunProgress as Cr, OrganizationMembersClient as Ct, SeedCaseOptions as D, Approver as Di, SaveAssertionsParams as Dn, ListDatasetsParams as Dr, BitfabLangGraphIntegration as Dt, ReseedResult as E, ApprovalState as Ei, SaveAssertionsAllParams as En, GraderRerunTimeoutError as Er, BitfabLangGraphAgent as Et, WrapOpenAIResponsesOptions as F, ScenarioActualOutcome as Fn, BitfabLanguageModelMiddleware as Fr, GraderLabelUpdate as Ft, TracingProcessor as G, ScenarioTrigger as Gn, Category as Gr, HumanLabelUpdate as Gt, ActiveSpanContext as H, ScenarioRecord as Hn, AssertionCategory as Hr, ArchiveVerdictTarget as Ht, WrapOpenRouterOptions as I, ScenarioData as In, BitfabVercelAiHandler as Ir, GraderVerdict as It, SpanListParams as J, TraceAssertionsResult as Jn, SaveCategoryParams as Jr, LabelAction as Jt, ListedSpan as K, TraceAssertion as Kn, CategorySummary as Kr, HumanVerdictOutcome as Kt, WrappedBamlFn as L, ScenarioDataAppend as Ln, VercelCallParams as Lr, GraderVerdictOutcome as Lt, WrapAnthropicOptions as M, SavedTraceAssertion as Mn, SaveDatasetParams as Mr, GraderLabel as Mt, WrapBAMLOptions as N, Scenario as Nn, SaveDatasetResult as Nr, GraderLabelOutcome as Nt, SeedRunOptions as O, Assignee as Oi, SaveScenarioActualOutcome as On, RemoveDatasetGradersResult as Or, LangGraphIntegrationOptions as Ot, WrapJevOptions as P, ScenarioAction as Pn, UpdateDatasetParams as Pr, GraderLabelSource as Pt, RivetContextLike as Q, TraceSearchResult as Qn, SpanLookup as Qr, LabelStatus as Qt, getCurrentReplayBranch as R, ScenarioDataOrigin as Rn, VercelGenerateResult as Rr, GraderVerdictSource as Rt, DetachedTrace as S, AllowedEnvVars as Si, AssertionRewriteStatus as Sn, GraderRerunError as Sr, OrganizationMember as St, ReseedOptions as T, ApprovalFields as Ti, SaveAssertion as Tn, GraderRerunStatus as Tr, BitfabAgentMiddleware as Tt, BitfabOpenAITracingProcessor as U, ScenarioRecordInput as Un, AssertionCategorySummary as Ur, AssertionVerdict as Ut, CaptureSurface as V, ScenarioHistoryEntry as Vn, AssertionCategoriesClient as Vr, ArchiveLabelTarget as Vt, TraceResponse as W, ScenarioSource as Wn, CategoriesClient as Wr, HumanLabelOutcome as Wt, SpansClient as X, TraceSearchFilters as Xn, CodeChangeFile as Xr, LabelOutcome as Xt, SpanListResult as Y, TraceAssertionsUpdate as Yn, CapturedSpan as Yr, LabelConfidence as Yt, BitfabRivetIntegration as Z, TraceSearchParams as Zn, HttpClient as Zr, LabelSource as Zt, BitfabConfig as _, SUPPORTED_PROVIDERS as _i, AssertionGenerationError as _n, Dataset as _r, TraceIngestionType as _t, ReplayRegistryOptions as a, MockOverrideCtx as ai, Verdict as an, ExperimentJitter as ar, DbBranchOptions as at, CurrentSpan as b, SelectiveReplayOptions as bi, AssertionLabelEvidence as bn, DatasetsClient as br, ReplayInterrupt as bt, SeedResult as c, MockValue as ci, VerdictOutcome as cn, ExperimentRollupResult as cr, ReplayError as ct, seedFromRegistry as d, SpanNodeMeta as di, VerdictTarget as dn, ExperimentTally as dr, ReplayItemFinishProgress as dt, SpanType as ei, LabelUpdate as en, TraceTargetOccurrence as er, RivetIntegrationOptions as et, finalizers as f, BitfabError as fi, VerdictUpdate as fn, ExperimentTotals as fr, ReplayItemStartProgress as ft, Bitfab as g, DbSnapshotRef as gi, AssertionGeneration as gn, AddDatasetTracesResult as gr, ReplayResult as gt, CommitRef as h, DbSnapshotProvider as hi, AssertionEvidenceParameter as hn, AddDatasetGradersResult as hr, ReplayProgressItem as ht, ReplayRegistryContext as i, MockOverride as ii, TraceVerdicts as in, ExperimentCodeChangeTotals as ir, BITFAB_PROGRESS_PREFIX as it, SpanOptions as j, SaveScenarioParams as jn, RerunGradersResult as jr, GetGraderVerdictsParams as jt, SpanMethodDecorator as k, Justification as ki, SaveScenarioData as kn, RemoveDatasetTracesResult as kr, BitfabLangGraphCallbackHandler as kt, defineReplayRegistry as l, NO_MOCK_OVERRIDE as li, VerdictSource as ln, ExperimentRunBy as lr, ReplayExperiment as lt, __version__ as m, DbSnapshotConfig as mi, ArchiveAssertionsParams as mn, ListExperimentsParams as mr, ReplayProgress as mt, ReplayRegistration as n, flushTraces as ni, PassFailVerdict as nn, Experiment as nr, AdaptContext as nt, ReseedRegistryResult as o, MockOverrideInput as oi, VerdictAction as on, ExperimentPage as or, DbBranchReplayError as ot, DEFAULT_SERVICE_URL as p, MixedTracingError as pi, VerdictsClient as pn, ExperimentsClient as pr, ReplayOptions as pt, SpanListField as q, TraceAssertionSource as qn, SaveAssertionCategoryParams as qr, HumanVerdictUpdate as qt, ReplayRegistry as r, DbBranchTimings as ri, TraceLabels as rn, ExperimentCategoryTally as rr, AdaptInputsFn as rt, SeedCase as s, MockOverrideResolver as si, VerdictConfidence as sn, ExperimentRollup as sr, MockStrategy as st, ReplayOptionsFactory as t, TokenUsage as ti, LabelsClient as tn, TracesClient as tr, ReplayBranch as tt, reseedFromRegistry as u, NodeMatcher as ui, VerdictStatus as un, ExperimentStatus as ur, ReplayItem as ut, BitfabFunction as v, ReplayNodeIdentity as vi, AssertionGenerationStatus as vn, DatasetGraderRef as vr, reportReplayProgress as vt, NodeOptions as w, ProviderDefinition as wi, GenerateAssertionsOptions as wn, GraderRerunResult as wr, BitfabOpenAIAgentHandler as wt, CurrentTrace as x, SelectiveReplayReport as xi, AssertionRewrite as xn, GraderRerun as xr, ReplayInterruptSignal as xt, CaptureWhen as y, SelectiveReplayDecision as yi, AssertionGenerationTimeoutError as yn, DatasetTraceIds as yr, serializeReplayResult as yt, getCurrentSpan as z, ScenarioDataSources as zn, VercelStreamResult as zr, GraderVerdictUpdate as zt };
@@ -2045,6 +2045,18 @@ type ArchiveAssertionsParams = {
2045
2045
  traceId: string;
2046
2046
  assertionIds: string[];
2047
2047
  };
2048
+ /**
2049
+ * What `generateScenario` started. `started`: Bitfab is building the
2050
+ * scenario in the background, and `getScenario` reads it once it is ready.
2051
+ * `already_generated`: the trace already has a scenario, so nothing was
2052
+ * started and `scenarioId` names it.
2053
+ */
2054
+ type ScenarioGeneration = {
2055
+ status: "started" | "already_generated";
2056
+ traceId: string;
2057
+ /** The trace's scenario, or null while it has none yet. */
2058
+ scenarioId: string | null;
2059
+ };
2048
2060
  type GenerateAssertionsOptions = {
2049
2061
  guidance?: string;
2050
2062
  categoryIds?: string[];
@@ -2087,6 +2099,15 @@ declare class TracesClient {
2087
2099
  generateAssertions(traceId: string, options?: GenerateAssertionsOptions): Promise<TraceAssertion[]>;
2088
2100
  archiveAssertions(params: ArchiveAssertionsParams): Promise<string[]>;
2089
2101
  getScenario(traceId: string): Promise<Scenario>;
2102
+ /**
2103
+ * Start building the scenario for one trace and return at once, without
2104
+ * waiting for it. Read it later with `getScenario`. A trace that already has
2105
+ * a scenario is left as it is. A replay, a trace outside the organization,
2106
+ * or a trace Bitfab cannot build a scenario for (not `noah-agent-turn` and
2107
+ * no scenario callback) is refused. Adding a trace to a dataset starts the
2108
+ * same build only when the organization has a scenario callback.
2109
+ */
2110
+ generateScenario(traceId: string): Promise<ScenarioGeneration>;
2090
2111
  saveScenario({ traceId, ...edit }: SaveScenarioParams): Promise<Scenario>;
2091
2112
  }
2092
2113
  //#endregion
@@ -4969,7 +4990,7 @@ interface CommitRef {
4969
4990
  /**
4970
4991
  * SDK version from package.json (injected at build time)
4971
4992
  */
4972
- declare const __version__ = "0.68.7";
4993
+ declare const __version__ = "0.68.8";
4973
4994
  //#endregion
4974
4995
  //#region src/constants.d.ts
4975
4996
  /**
@@ -5111,4 +5132,4 @@ declare function seedFromRegistry(registry: ReplayRegistry, pipeline: string, ca
5111
5132
  run?: boolean;
5112
5133
  }): Promise<SeedResult>;
5113
5134
  //#endregion
5114
- export { RivetEffectType as $, TraceTargetOccurrence as $n, SpanType as $r, LabelTarget as $t, SpanMethodDecoratorContext as A, SaveScenarioHistoryEntry as An, RerunGradersResult as Ar, GetGraderLabelsParams as At, getCurrentTrace as B, ScenarioHistoryEntry as Bn, AssertionCategoriesClient as Br, GradersClient as Bt, NodeMethodDecorator as C, ProviderDefinition as Ci, AssertionVerdictEvidence as Cn, GraderRerunResult as Cr, OrganizationMembersClient as Ct, SeedCaseOptions as D, Assignee as Di, SaveAssertionsParams as Dn, RemoveDatasetGradersResult as Dr, BitfabLangGraphIntegration as Dt, ReseedResult as E, Approver as Ei, SaveAssertionsAllParams as En, ListDatasetsParams as Er, BitfabLangGraphAgent as Et, WrapOpenAIResponsesOptions as F, ScenarioActualOutcome as Fn, BitfabVercelAiHandler as Fr, GraderLabelUpdate as Ft, TracingProcessor as G, TraceAssertion as Gn, CategorySummary as Gr, HumanLabelUpdate as Gt, ActiveSpanContext as H, ScenarioRecordInput as Hn, AssertionCategorySummary as Hr, ArchiveVerdictTarget as Ht, WrapOpenRouterOptions as I, ScenarioData as In, VercelCallParams as Ir, GraderVerdict as It, SpanListParams as J, TraceAssertionsUpdate as Jn, CapturedSpan as Jr, LabelAction as Jt, ListedSpan as K, TraceAssertionSource as Kn, SaveAssertionCategoryParams as Kr, HumanVerdictOutcome as Kt, WrappedBamlFn as L, ScenarioDataAppend as Ln, VercelGenerateResult as Lr, GraderVerdictOutcome as Lt, WrapAnthropicOptions as M, SavedTraceAssertion as Mn, SaveDatasetResult as Mr, GraderLabel as Mt, WrapBAMLOptions as N, Scenario as Nn, UpdateDatasetParams as Nr, GraderLabelOutcome as Nt, SeedRunOptions as O, Justification as Oi, SaveScenarioActualOutcome as On, RemoveDatasetTracesResult as Or, LangGraphIntegrationOptions as Ot, WrapJevOptions as P, ScenarioAction as Pn, BitfabLanguageModelMiddleware as Pr, GraderLabelSource as Pt, RivetContextLike as Q, TraceTarget as Qn, SpanOccurrence as Qr, LabelStatus as Qt, getCurrentReplayBranch as R, ScenarioDataOrigin as Rn, VercelStreamResult as Rr, GraderVerdictSource as Rt, DetachedTrace as S, BamlExecutionResult as Si, AssertionRewriteStatus as Sn, GraderRerunProgress as Sr, OrganizationMember as St, ReseedOptions as T, ApprovalState as Ti, SaveAssertion as Tn, GraderRerunTimeoutError as Tr, BitfabAgentMiddleware as Tt, BitfabOpenAITracingProcessor as U, ScenarioSource as Un, CategoriesClient as Ur, AssertionVerdict as Ut, CaptureSurface as V, ScenarioRecord as Vn, AssertionCategory as Vr, ArchiveLabelTarget as Vt, TraceResponse as W, ScenarioTrigger as Wn, Category as Wr, HumanLabelOutcome as Wt, SpansClient as X, TraceSearchParams as Xn, HttpClient as Xr, LabelOutcome as Xt, SpanListResult as Y, TraceSearchFilters as Yn, CodeChangeFile as Yr, LabelConfidence as Yt, BitfabRivetIntegration as Z, TraceSearchResult as Zn, SpanLookup as Zr, LabelSource as Zt, BitfabConfig as _, ReplayNodeIdentity as _i, AssertionGenerationError as _n, DatasetGraderRef as _r, TraceIngestionType as _t, ReplayRegistryOptions as a, MockOverrideInput as ai, Verdict as an, ExperimentPage as ar, DbBranchOptions as at, CurrentSpan as b, SelectiveReplayReport as bi, AssertionLabelEvidence as bn, GraderRerun as br, ReplayInterrupt as bt, SeedResult as c, NO_MOCK_OVERRIDE as ci, VerdictOutcome as cn, ExperimentRunBy as cr, ReplayError as ct, seedFromRegistry as d, BitfabError as di, VerdictTarget as dn, ExperimentTotals as dr, ReplayItemFinishProgress as dt, TokenUsage as ei, LabelUpdate as en, TracesClient as er, RivetIntegrationOptions as et, finalizers as f, MixedTracingError as fi, VerdictUpdate as fn, ExperimentsClient as fr, ReplayItemStartProgress as ft, Bitfab as g, SUPPORTED_PROVIDERS as gi, AssertionGeneration as gn, Dataset as gr, ReplayResult as gt, CommitRef as h, DbSnapshotRef as hi, AssertionEvidenceParameter as hn, AddDatasetTracesResult as hr, ReplayProgressItem as ht, ReplayRegistryContext as i, MockOverrideCtx as ii, TraceVerdicts as in, ExperimentJitter as ir, BITFAB_PROGRESS_PREFIX as it, SpanOptions as j, SaveScenarioParams as jn, SaveDatasetParams as jr, GetGraderVerdictsParams as jt, SpanMethodDecorator as k, JustificationSpan as ki, SaveScenarioData as kn, RerunGradersOptions as kr, BitfabLangGraphCallbackHandler as kt, defineReplayRegistry as l, NodeMatcher as li, VerdictSource as ln, ExperimentStatus as lr, ReplayExperiment as lt, __version__ as m, DbSnapshotProvider as mi, ArchiveAssertionsParams as mn, AddDatasetGradersResult as mr, ReplayProgress as mt, ReplayRegistration as n, DbBranchTimings as ni, PassFailVerdict as nn, ExperimentCategoryTally as nr, AdaptContext as nt, ReseedRegistryResult as o, MockOverrideResolver as oi, VerdictAction as on, ExperimentRollup as or, DbBranchReplayError as ot, DEFAULT_SERVICE_URL as p, DbSnapshotConfig as pi, VerdictsClient as pn, ListExperimentsParams as pr, ReplayOptions as pt, SpanListField as q, TraceAssertionsResult as qn, SaveCategoryParams as qr, HumanVerdictUpdate as qt, ReplayRegistry as r, MockOverride as ri, TraceLabels as rn, ExperimentCodeChangeTotals as rr, AdaptInputsFn as rt, SeedCase as s, MockValue as si, VerdictConfidence as sn, ExperimentRollupResult as sr, MockStrategy as st, ReplayOptionsFactory as t, flushTraces as ti, LabelsClient as tn, Experiment as tr, ReplayBranch as tt, reseedFromRegistry as u, SpanNodeMeta as ui, VerdictStatus as un, ExperimentTally as ur, ReplayItem as ut, BitfabFunction as v, SelectiveReplayDecision as vi, AssertionGenerationStatus as vn, DatasetTraceIds as vr, reportReplayProgress as vt, NodeOptions as w, ApprovalFields as wi, GenerateAssertionsOptions as wn, GraderRerunStatus as wr, BitfabOpenAIAgentHandler as wt, CurrentTrace as x, AllowedEnvVars as xi, AssertionRewrite as xn, GraderRerunError as xr, ReplayInterruptSignal as xt, CaptureWhen as y, SelectiveReplayOptions as yi, AssertionGenerationTimeoutError as yn, DatasetsClient as yr, serializeReplayResult as yt, getCurrentSpan as z, ScenarioDataSources as zn, BitfabClaudeAgentHandler as zr, GraderVerdictUpdate as zt };
5135
+ export { RivetEffectType as $, TraceTarget as $n, SpanOccurrence as $r, LabelTarget as $t, SpanMethodDecoratorContext as A, JustificationSpan as Ai, SaveScenarioHistoryEntry as An, RerunGradersOptions as Ar, GetGraderLabelsParams as At, getCurrentTrace as B, ScenarioGeneration as Bn, BitfabClaudeAgentHandler as Br, GradersClient as Bt, NodeMethodDecorator as C, BamlExecutionResult as Ci, AssertionVerdictEvidence as Cn, GraderRerunProgress as Cr, OrganizationMembersClient as Ct, SeedCaseOptions as D, Approver as Di, SaveAssertionsParams as Dn, ListDatasetsParams as Dr, BitfabLangGraphIntegration as Dt, ReseedResult as E, ApprovalState as Ei, SaveAssertionsAllParams as En, GraderRerunTimeoutError as Er, BitfabLangGraphAgent as Et, WrapOpenAIResponsesOptions as F, ScenarioActualOutcome as Fn, BitfabLanguageModelMiddleware as Fr, GraderLabelUpdate as Ft, TracingProcessor as G, ScenarioTrigger as Gn, Category as Gr, HumanLabelUpdate as Gt, ActiveSpanContext as H, ScenarioRecord as Hn, AssertionCategory as Hr, ArchiveVerdictTarget as Ht, WrapOpenRouterOptions as I, ScenarioData as In, BitfabVercelAiHandler as Ir, GraderVerdict as It, SpanListParams as J, TraceAssertionsResult as Jn, SaveCategoryParams as Jr, LabelAction as Jt, ListedSpan as K, TraceAssertion as Kn, CategorySummary as Kr, HumanVerdictOutcome as Kt, WrappedBamlFn as L, ScenarioDataAppend as Ln, VercelCallParams as Lr, GraderVerdictOutcome as Lt, WrapAnthropicOptions as M, SavedTraceAssertion as Mn, SaveDatasetParams as Mr, GraderLabel as Mt, WrapBAMLOptions as N, Scenario as Nn, SaveDatasetResult as Nr, GraderLabelOutcome as Nt, SeedRunOptions as O, Assignee as Oi, SaveScenarioActualOutcome as On, RemoveDatasetGradersResult as Or, LangGraphIntegrationOptions as Ot, WrapJevOptions as P, ScenarioAction as Pn, UpdateDatasetParams as Pr, GraderLabelSource as Pt, RivetContextLike as Q, TraceSearchResult as Qn, SpanLookup as Qr, LabelStatus as Qt, getCurrentReplayBranch as R, ScenarioDataOrigin as Rn, VercelGenerateResult as Rr, GraderVerdictSource as Rt, DetachedTrace as S, AllowedEnvVars as Si, AssertionRewriteStatus as Sn, GraderRerunError as Sr, OrganizationMember as St, ReseedOptions as T, ApprovalFields as Ti, SaveAssertion as Tn, GraderRerunStatus as Tr, BitfabAgentMiddleware as Tt, BitfabOpenAITracingProcessor as U, ScenarioRecordInput as Un, AssertionCategorySummary as Ur, AssertionVerdict as Ut, CaptureSurface as V, ScenarioHistoryEntry as Vn, AssertionCategoriesClient as Vr, ArchiveLabelTarget as Vt, TraceResponse as W, ScenarioSource as Wn, CategoriesClient as Wr, HumanLabelOutcome as Wt, SpansClient as X, TraceSearchFilters as Xn, CodeChangeFile as Xr, LabelOutcome as Xt, SpanListResult as Y, TraceAssertionsUpdate as Yn, CapturedSpan as Yr, LabelConfidence as Yt, BitfabRivetIntegration as Z, TraceSearchParams as Zn, HttpClient as Zr, LabelSource as Zt, BitfabConfig as _, SUPPORTED_PROVIDERS as _i, AssertionGenerationError as _n, Dataset as _r, TraceIngestionType as _t, ReplayRegistryOptions as a, MockOverrideCtx as ai, Verdict as an, ExperimentJitter as ar, DbBranchOptions as at, CurrentSpan as b, SelectiveReplayOptions as bi, AssertionLabelEvidence as bn, DatasetsClient as br, ReplayInterrupt as bt, SeedResult as c, MockValue as ci, VerdictOutcome as cn, ExperimentRollupResult as cr, ReplayError as ct, seedFromRegistry as d, SpanNodeMeta as di, VerdictTarget as dn, ExperimentTally as dr, ReplayItemFinishProgress as dt, SpanType as ei, LabelUpdate as en, TraceTargetOccurrence as er, RivetIntegrationOptions as et, finalizers as f, BitfabError as fi, VerdictUpdate as fn, ExperimentTotals as fr, ReplayItemStartProgress as ft, Bitfab as g, DbSnapshotRef as gi, AssertionGeneration as gn, AddDatasetTracesResult as gr, ReplayResult as gt, CommitRef as h, DbSnapshotProvider as hi, AssertionEvidenceParameter as hn, AddDatasetGradersResult as hr, ReplayProgressItem as ht, ReplayRegistryContext as i, MockOverride as ii, TraceVerdicts as in, ExperimentCodeChangeTotals as ir, BITFAB_PROGRESS_PREFIX as it, SpanOptions as j, SaveScenarioParams as jn, RerunGradersResult as jr, GetGraderVerdictsParams as jt, SpanMethodDecorator as k, Justification as ki, SaveScenarioData as kn, RemoveDatasetTracesResult as kr, BitfabLangGraphCallbackHandler as kt, defineReplayRegistry as l, NO_MOCK_OVERRIDE as li, VerdictSource as ln, ExperimentRunBy as lr, ReplayExperiment as lt, __version__ as m, DbSnapshotConfig as mi, ArchiveAssertionsParams as mn, ListExperimentsParams as mr, ReplayProgress as mt, ReplayRegistration as n, flushTraces as ni, PassFailVerdict as nn, Experiment as nr, AdaptContext as nt, ReseedRegistryResult as o, MockOverrideInput as oi, VerdictAction as on, ExperimentPage as or, DbBranchReplayError as ot, DEFAULT_SERVICE_URL as p, MixedTracingError as pi, VerdictsClient as pn, ExperimentsClient as pr, ReplayOptions as pt, SpanListField as q, TraceAssertionSource as qn, SaveAssertionCategoryParams as qr, HumanVerdictUpdate as qt, ReplayRegistry as r, DbBranchTimings as ri, TraceLabels as rn, ExperimentCategoryTally as rr, AdaptInputsFn as rt, SeedCase as s, MockOverrideResolver as si, VerdictConfidence as sn, ExperimentRollup as sr, MockStrategy as st, ReplayOptionsFactory as t, TokenUsage as ti, LabelsClient as tn, TracesClient as tr, ReplayBranch as tt, reseedFromRegistry as u, NodeMatcher as ui, VerdictStatus as un, ExperimentStatus as ur, ReplayItem as ut, BitfabFunction as v, ReplayNodeIdentity as vi, AssertionGenerationStatus as vn, DatasetGraderRef as vr, reportReplayProgress as vt, NodeOptions as w, ProviderDefinition as wi, GenerateAssertionsOptions as wn, GraderRerunResult as wr, BitfabOpenAIAgentHandler as wt, CurrentTrace as x, SelectiveReplayReport as xi, AssertionRewrite as xn, GraderRerun as xr, ReplayInterruptSignal as xt, CaptureWhen as y, SelectiveReplayDecision as yi, AssertionGenerationTimeoutError as yn, DatasetTraceIds as yr, serializeReplayResult as yt, getCurrentSpan as z, ScenarioDataSources as zn, VercelStreamResult as zr, GraderVerdictUpdate as zt };
package/dist/index.cjs CHANGED
@@ -11,8 +11,8 @@ Object.defineProperties(exports, {
11
11
  __esModule: { value: true },
12
12
  [Symbol.toStringTag]: { value: "Module" }
13
13
  });
14
- const require_src = require("./src-B7_GnVaZ.cjs");
15
- const require_http = require("./http-DAMAcv_J.cjs");
14
+ const require_src = require("./src-i7rTgxMg.cjs");
15
+ const require_http = require("./http-CqYiYU9P.cjs");
16
16
  exports.AssertionCategoriesClient = require_src.AssertionCategoriesClient;
17
17
  exports.AssertionGenerationError = require_src.AssertionGenerationError;
18
18
  exports.AssertionGenerationTimeoutError = require_src.AssertionGenerationTimeoutError;
package/dist/index.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as RivetEffectType, $n as TraceTargetOccurrence, $r as SpanType, $t as LabelTarget, A as SpanMethodDecoratorContext, An as SaveScenarioHistoryEntry, Ar as RerunGradersResult, At as GetGraderLabelsParams, B as getCurrentTrace, Bn as ScenarioHistoryEntry, Br as AssertionCategoriesClient, Bt as GradersClient, C as NodeMethodDecorator, Ci as ProviderDefinition, Cn as AssertionVerdictEvidence, Cr as GraderRerunResult, Ct as OrganizationMembersClient, D as SeedCaseOptions, Di as Assignee, Dn as SaveAssertionsParams, Dr as RemoveDatasetGradersResult, Dt as BitfabLangGraphIntegration, E as ReseedResult, Ei as Approver, En as SaveAssertionsAllParams, Er as ListDatasetsParams, Et as BitfabLangGraphAgent, F as WrapOpenAIResponsesOptions, Fn as ScenarioActualOutcome, Fr as BitfabVercelAiHandler, Ft as GraderLabelUpdate, G as TracingProcessor, Gn as TraceAssertion, Gr as CategorySummary, Gt as HumanLabelUpdate, H as ActiveSpanContext, Hn as ScenarioRecordInput, Hr as AssertionCategorySummary, Ht as ArchiveVerdictTarget, I as WrapOpenRouterOptions, In as ScenarioData, Ir as VercelCallParams, It as GraderVerdict, J as SpanListParams, Jn as TraceAssertionsUpdate, Jr as CapturedSpan, Jt as LabelAction, K as ListedSpan, Kn as TraceAssertionSource, Kr as SaveAssertionCategoryParams, Kt as HumanVerdictOutcome, L as WrappedBamlFn, Ln as ScenarioDataAppend, Lr as VercelGenerateResult, Lt as GraderVerdictOutcome, M as WrapAnthropicOptions, Mn as SavedTraceAssertion, Mr as SaveDatasetResult, Mt as GraderLabel, N as WrapBAMLOptions, Nn as Scenario, Nr as UpdateDatasetParams, Nt as GraderLabelOutcome, O as SeedRunOptions, Oi as Justification, On as SaveScenarioActualOutcome, Or as RemoveDatasetTracesResult, Ot as LangGraphIntegrationOptions, P as WrapJevOptions, Pn as ScenarioAction, Pr as BitfabLanguageModelMiddleware, Pt as GraderLabelSource, Q as RivetContextLike, Qn as TraceTarget, Qr as SpanOccurrence, Qt as LabelStatus, R as getCurrentReplayBranch, Rn as ScenarioDataOrigin, Rr as VercelStreamResult, Rt as GraderVerdictSource, S as DetachedTrace, Si as BamlExecutionResult, Sn as AssertionRewriteStatus, Sr as GraderRerunProgress, St as OrganizationMember, T as ReseedOptions, Ti as ApprovalState, Tn as SaveAssertion, Tr as GraderRerunTimeoutError, Tt as BitfabAgentMiddleware, U as BitfabOpenAITracingProcessor, Un as ScenarioSource, Ur as CategoriesClient, Ut as AssertionVerdict, V as CaptureSurface, Vn as ScenarioRecord, Vr as AssertionCategory, Vt as ArchiveLabelTarget, W as TraceResponse, Wn as ScenarioTrigger, Wr as Category, Wt as HumanLabelOutcome, X as SpansClient, Xn as TraceSearchParams, Xr as HttpClient, Xt as LabelOutcome, Y as SpanListResult, Yn as TraceSearchFilters, Yr as CodeChangeFile, Yt as LabelConfidence, Z as BitfabRivetIntegration, Zn as TraceSearchResult, Zr as SpanLookup, Zt as LabelSource, _ as BitfabConfig, _i as ReplayNodeIdentity, _n as AssertionGenerationError, _r as DatasetGraderRef, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as MockOverrideInput, an as Verdict, ar as ExperimentPage, at as DbBranchOptions, b as CurrentSpan, bi as SelectiveReplayReport, bn as AssertionLabelEvidence, br as GraderRerun, bt as ReplayInterrupt, c as SeedResult, ci as NO_MOCK_OVERRIDE, cn as VerdictOutcome, cr as ExperimentRunBy, ct as ReplayError, d as seedFromRegistry, di as BitfabError, dn as VerdictTarget, dr as ExperimentTotals, dt as ReplayItemFinishProgress, ei as TokenUsage, en as LabelUpdate, er as TracesClient, et as RivetIntegrationOptions, f as finalizers, fi as MixedTracingError, fn as VerdictUpdate, fr as ExperimentsClient, ft as ReplayItemStartProgress, g as Bitfab, gi as SUPPORTED_PROVIDERS, gn as AssertionGeneration, gr as Dataset, gt as ReplayResult, h as CommitRef, hi as DbSnapshotRef, hn as AssertionEvidenceParameter, hr as AddDatasetTracesResult, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as MockOverrideCtx, in as TraceVerdicts, ir as ExperimentJitter, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, jn as SaveScenarioParams, jr as SaveDatasetParams, jt as GetGraderVerdictsParams, k as SpanMethodDecorator, ki as JustificationSpan, kn as SaveScenarioData, kr as RerunGradersOptions, kt as BitfabLangGraphCallbackHandler, l as defineReplayRegistry, li as NodeMatcher, ln as VerdictSource, lr as ExperimentStatus, lt as ReplayExperiment, m as __version__, mi as DbSnapshotProvider, mn as ArchiveAssertionsParams, mr as AddDatasetGradersResult, mt as ReplayProgress, n as ReplayRegistration, ni as DbBranchTimings, nn as PassFailVerdict, nr as ExperimentCategoryTally, nt as AdaptContext, o as ReseedRegistryResult, oi as MockOverrideResolver, on as VerdictAction, or as ExperimentRollup, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as DbSnapshotConfig, pn as VerdictsClient, pr as ListExperimentsParams, pt as ReplayOptions, q as SpanListField, qn as TraceAssertionsResult, qr as SaveCategoryParams, qt as HumanVerdictUpdate, r as ReplayRegistry, ri as MockOverride, rn as TraceLabels, rr as ExperimentCodeChangeTotals, rt as AdaptInputsFn, s as SeedCase, si as MockValue, sn as VerdictConfidence, sr as ExperimentRollupResult, st as MockStrategy, t as ReplayOptionsFactory, ti as flushTraces, tn as LabelsClient, tr as Experiment, tt as ReplayBranch, u as reseedFromRegistry, ui as SpanNodeMeta, un as VerdictStatus, ur as ExperimentTally, ut as ReplayItem, v as BitfabFunction, vi as SelectiveReplayDecision, vn as AssertionGenerationStatus, vr as DatasetTraceIds, vt as reportReplayProgress, w as NodeOptions, wi as ApprovalFields, wn as GenerateAssertionsOptions, wr as GraderRerunStatus, wt as BitfabOpenAIAgentHandler, x as CurrentTrace, xi as AllowedEnvVars, xn as AssertionRewrite, xr as GraderRerunError, xt as ReplayInterruptSignal, y as CaptureWhen, yi as SelectiveReplayOptions, yn as AssertionGenerationTimeoutError, yr as DatasetsClient, yt as serializeReplayResult, z as getCurrentSpan, zn as ScenarioDataSources, zr as BitfabClaudeAgentHandler, zt as GraderVerdictUpdate } from "./index-Dh8URnQo.cjs";
2
- export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
1
+ import { $ as RivetEffectType, $n as TraceTarget, $r as SpanOccurrence, $t as LabelTarget, A as SpanMethodDecoratorContext, Ai as JustificationSpan, An as SaveScenarioHistoryEntry, Ar as RerunGradersOptions, At as GetGraderLabelsParams, B as getCurrentTrace, Bn as ScenarioGeneration, Br as BitfabClaudeAgentHandler, Bt as GradersClient, C as NodeMethodDecorator, Ci as BamlExecutionResult, Cn as AssertionVerdictEvidence, Cr as GraderRerunProgress, Ct as OrganizationMembersClient, D as SeedCaseOptions, Di as Approver, Dn as SaveAssertionsParams, Dr as ListDatasetsParams, Dt as BitfabLangGraphIntegration, E as ReseedResult, Ei as ApprovalState, En as SaveAssertionsAllParams, Er as GraderRerunTimeoutError, Et as BitfabLangGraphAgent, F as WrapOpenAIResponsesOptions, Fn as ScenarioActualOutcome, Fr as BitfabLanguageModelMiddleware, Ft as GraderLabelUpdate, G as TracingProcessor, Gn as ScenarioTrigger, Gr as Category, Gt as HumanLabelUpdate, H as ActiveSpanContext, Hn as ScenarioRecord, Hr as AssertionCategory, Ht as ArchiveVerdictTarget, I as WrapOpenRouterOptions, In as ScenarioData, Ir as BitfabVercelAiHandler, It as GraderVerdict, J as SpanListParams, Jn as TraceAssertionsResult, Jr as SaveCategoryParams, Jt as LabelAction, K as ListedSpan, Kn as TraceAssertion, Kr as CategorySummary, Kt as HumanVerdictOutcome, L as WrappedBamlFn, Ln as ScenarioDataAppend, Lr as VercelCallParams, Lt as GraderVerdictOutcome, M as WrapAnthropicOptions, Mn as SavedTraceAssertion, Mr as SaveDatasetParams, Mt as GraderLabel, N as WrapBAMLOptions, Nn as Scenario, Nr as SaveDatasetResult, Nt as GraderLabelOutcome, O as SeedRunOptions, Oi as Assignee, On as SaveScenarioActualOutcome, Or as RemoveDatasetGradersResult, Ot as LangGraphIntegrationOptions, P as WrapJevOptions, Pn as ScenarioAction, Pr as UpdateDatasetParams, Pt as GraderLabelSource, Q as RivetContextLike, Qn as TraceSearchResult, Qr as SpanLookup, Qt as LabelStatus, R as getCurrentReplayBranch, Rn as ScenarioDataOrigin, Rr as VercelGenerateResult, Rt as GraderVerdictSource, S as DetachedTrace, Si as AllowedEnvVars, Sn as AssertionRewriteStatus, Sr as GraderRerunError, St as OrganizationMember, T as ReseedOptions, Ti as ApprovalFields, Tn as SaveAssertion, Tr as GraderRerunStatus, Tt as BitfabAgentMiddleware, U as BitfabOpenAITracingProcessor, Un as ScenarioRecordInput, Ur as AssertionCategorySummary, Ut as AssertionVerdict, V as CaptureSurface, Vn as ScenarioHistoryEntry, Vr as AssertionCategoriesClient, Vt as ArchiveLabelTarget, W as TraceResponse, Wn as ScenarioSource, Wr as CategoriesClient, Wt as HumanLabelOutcome, X as SpansClient, Xn as TraceSearchFilters, Xr as CodeChangeFile, Xt as LabelOutcome, Y as SpanListResult, Yn as TraceAssertionsUpdate, Yr as CapturedSpan, Yt as LabelConfidence, Z as BitfabRivetIntegration, Zn as TraceSearchParams, Zr as HttpClient, Zt as LabelSource, _ as BitfabConfig, _i as SUPPORTED_PROVIDERS, _n as AssertionGenerationError, _r as Dataset, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as MockOverrideCtx, an as Verdict, ar as ExperimentJitter, at as DbBranchOptions, b as CurrentSpan, bi as SelectiveReplayOptions, bn as AssertionLabelEvidence, br as DatasetsClient, bt as ReplayInterrupt, c as SeedResult, ci as MockValue, cn as VerdictOutcome, cr as ExperimentRollupResult, ct as ReplayError, d as seedFromRegistry, di as SpanNodeMeta, dn as VerdictTarget, dr as ExperimentTally, dt as ReplayItemFinishProgress, ei as SpanType, en as LabelUpdate, er as TraceTargetOccurrence, et as RivetIntegrationOptions, f as finalizers, fi as BitfabError, fn as VerdictUpdate, fr as ExperimentTotals, ft as ReplayItemStartProgress, g as Bitfab, gi as DbSnapshotRef, gn as AssertionGeneration, gr as AddDatasetTracesResult, gt as ReplayResult, h as CommitRef, hi as DbSnapshotProvider, hn as AssertionEvidenceParameter, hr as AddDatasetGradersResult, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as MockOverride, in as TraceVerdicts, ir as ExperimentCodeChangeTotals, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, jn as SaveScenarioParams, jr as RerunGradersResult, jt as GetGraderVerdictsParams, k as SpanMethodDecorator, ki as Justification, kn as SaveScenarioData, kr as RemoveDatasetTracesResult, kt as BitfabLangGraphCallbackHandler, l as defineReplayRegistry, li as NO_MOCK_OVERRIDE, ln as VerdictSource, lr as ExperimentRunBy, lt as ReplayExperiment, m as __version__, mi as DbSnapshotConfig, mn as ArchiveAssertionsParams, mr as ListExperimentsParams, mt as ReplayProgress, n as ReplayRegistration, ni as flushTraces, nn as PassFailVerdict, nr as Experiment, nt as AdaptContext, o as ReseedRegistryResult, oi as MockOverrideInput, on as VerdictAction, or as ExperimentPage, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as MixedTracingError, pn as VerdictsClient, pr as ExperimentsClient, pt as ReplayOptions, q as SpanListField, qn as TraceAssertionSource, qr as SaveAssertionCategoryParams, qt as HumanVerdictUpdate, r as ReplayRegistry, ri as DbBranchTimings, rn as TraceLabels, rr as ExperimentCategoryTally, rt as AdaptInputsFn, s as SeedCase, si as MockOverrideResolver, sn as VerdictConfidence, sr as ExperimentRollup, st as MockStrategy, t as ReplayOptionsFactory, ti as TokenUsage, tn as LabelsClient, tr as TracesClient, tt as ReplayBranch, u as reseedFromRegistry, ui as NodeMatcher, un as VerdictStatus, ur as ExperimentStatus, ut as ReplayItem, v as BitfabFunction, vi as ReplayNodeIdentity, vn as AssertionGenerationStatus, vr as DatasetGraderRef, vt as reportReplayProgress, w as NodeOptions, wi as ProviderDefinition, wn as GenerateAssertionsOptions, wr as GraderRerunResult, wt as BitfabOpenAIAgentHandler, x as CurrentTrace, xi as SelectiveReplayReport, xn as AssertionRewrite, xr as GraderRerun, xt as ReplayInterruptSignal, y as CaptureWhen, yi as SelectiveReplayDecision, yn as AssertionGenerationTimeoutError, yr as DatasetTraceIds, yt as serializeReplayResult, z as getCurrentSpan, zn as ScenarioDataSources, zr as VercelStreamResult, zt as GraderVerdictUpdate } from "./index-DJn-J5ZW.cjs";
2
+ export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as RivetEffectType, $n as TraceTargetOccurrence, $r as SpanType, $t as LabelTarget, A as SpanMethodDecoratorContext, An as SaveScenarioHistoryEntry, Ar as RerunGradersResult, At as GetGraderLabelsParams, B as getCurrentTrace, Bn as ScenarioHistoryEntry, Br as AssertionCategoriesClient, Bt as GradersClient, C as NodeMethodDecorator, Ci as ProviderDefinition, Cn as AssertionVerdictEvidence, Cr as GraderRerunResult, Ct as OrganizationMembersClient, D as SeedCaseOptions, Di as Assignee, Dn as SaveAssertionsParams, Dr as RemoveDatasetGradersResult, Dt as BitfabLangGraphIntegration, E as ReseedResult, Ei as Approver, En as SaveAssertionsAllParams, Er as ListDatasetsParams, Et as BitfabLangGraphAgent, F as WrapOpenAIResponsesOptions, Fn as ScenarioActualOutcome, Fr as BitfabVercelAiHandler, Ft as GraderLabelUpdate, G as TracingProcessor, Gn as TraceAssertion, Gr as CategorySummary, Gt as HumanLabelUpdate, H as ActiveSpanContext, Hn as ScenarioRecordInput, Hr as AssertionCategorySummary, Ht as ArchiveVerdictTarget, I as WrapOpenRouterOptions, In as ScenarioData, Ir as VercelCallParams, It as GraderVerdict, J as SpanListParams, Jn as TraceAssertionsUpdate, Jr as CapturedSpan, Jt as LabelAction, K as ListedSpan, Kn as TraceAssertionSource, Kr as SaveAssertionCategoryParams, Kt as HumanVerdictOutcome, L as WrappedBamlFn, Ln as ScenarioDataAppend, Lr as VercelGenerateResult, Lt as GraderVerdictOutcome, M as WrapAnthropicOptions, Mn as SavedTraceAssertion, Mr as SaveDatasetResult, Mt as GraderLabel, N as WrapBAMLOptions, Nn as Scenario, Nr as UpdateDatasetParams, Nt as GraderLabelOutcome, O as SeedRunOptions, Oi as Justification, On as SaveScenarioActualOutcome, Or as RemoveDatasetTracesResult, Ot as LangGraphIntegrationOptions, P as WrapJevOptions, Pn as ScenarioAction, Pr as BitfabLanguageModelMiddleware, Pt as GraderLabelSource, Q as RivetContextLike, Qn as TraceTarget, Qr as SpanOccurrence, Qt as LabelStatus, R as getCurrentReplayBranch, Rn as ScenarioDataOrigin, Rr as VercelStreamResult, Rt as GraderVerdictSource, S as DetachedTrace, Si as BamlExecutionResult, Sn as AssertionRewriteStatus, Sr as GraderRerunProgress, St as OrganizationMember, T as ReseedOptions, Ti as ApprovalState, Tn as SaveAssertion, Tr as GraderRerunTimeoutError, Tt as BitfabAgentMiddleware, U as BitfabOpenAITracingProcessor, Un as ScenarioSource, Ur as CategoriesClient, Ut as AssertionVerdict, V as CaptureSurface, Vn as ScenarioRecord, Vr as AssertionCategory, Vt as ArchiveLabelTarget, W as TraceResponse, Wn as ScenarioTrigger, Wr as Category, Wt as HumanLabelOutcome, X as SpansClient, Xn as TraceSearchParams, Xr as HttpClient, Xt as LabelOutcome, Y as SpanListResult, Yn as TraceSearchFilters, Yr as CodeChangeFile, Yt as LabelConfidence, Z as BitfabRivetIntegration, Zn as TraceSearchResult, Zr as SpanLookup, Zt as LabelSource, _ as BitfabConfig, _i as ReplayNodeIdentity, _n as AssertionGenerationError, _r as DatasetGraderRef, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as MockOverrideInput, an as Verdict, ar as ExperimentPage, at as DbBranchOptions, b as CurrentSpan, bi as SelectiveReplayReport, bn as AssertionLabelEvidence, br as GraderRerun, bt as ReplayInterrupt, c as SeedResult, ci as NO_MOCK_OVERRIDE, cn as VerdictOutcome, cr as ExperimentRunBy, ct as ReplayError, d as seedFromRegistry, di as BitfabError, dn as VerdictTarget, dr as ExperimentTotals, dt as ReplayItemFinishProgress, ei as TokenUsage, en as LabelUpdate, er as TracesClient, et as RivetIntegrationOptions, f as finalizers, fi as MixedTracingError, fn as VerdictUpdate, fr as ExperimentsClient, ft as ReplayItemStartProgress, g as Bitfab, gi as SUPPORTED_PROVIDERS, gn as AssertionGeneration, gr as Dataset, gt as ReplayResult, h as CommitRef, hi as DbSnapshotRef, hn as AssertionEvidenceParameter, hr as AddDatasetTracesResult, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as MockOverrideCtx, in as TraceVerdicts, ir as ExperimentJitter, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, jn as SaveScenarioParams, jr as SaveDatasetParams, jt as GetGraderVerdictsParams, k as SpanMethodDecorator, ki as JustificationSpan, kn as SaveScenarioData, kr as RerunGradersOptions, kt as BitfabLangGraphCallbackHandler, l as defineReplayRegistry, li as NodeMatcher, ln as VerdictSource, lr as ExperimentStatus, lt as ReplayExperiment, m as __version__, mi as DbSnapshotProvider, mn as ArchiveAssertionsParams, mr as AddDatasetGradersResult, mt as ReplayProgress, n as ReplayRegistration, ni as DbBranchTimings, nn as PassFailVerdict, nr as ExperimentCategoryTally, nt as AdaptContext, o as ReseedRegistryResult, oi as MockOverrideResolver, on as VerdictAction, or as ExperimentRollup, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as DbSnapshotConfig, pn as VerdictsClient, pr as ListExperimentsParams, pt as ReplayOptions, q as SpanListField, qn as TraceAssertionsResult, qr as SaveCategoryParams, qt as HumanVerdictUpdate, r as ReplayRegistry, ri as MockOverride, rn as TraceLabels, rr as ExperimentCodeChangeTotals, rt as AdaptInputsFn, s as SeedCase, si as MockValue, sn as VerdictConfidence, sr as ExperimentRollupResult, st as MockStrategy, t as ReplayOptionsFactory, ti as flushTraces, tn as LabelsClient, tr as Experiment, tt as ReplayBranch, u as reseedFromRegistry, ui as SpanNodeMeta, un as VerdictStatus, ur as ExperimentTally, ut as ReplayItem, v as BitfabFunction, vi as SelectiveReplayDecision, vn as AssertionGenerationStatus, vr as DatasetTraceIds, vt as reportReplayProgress, w as NodeOptions, wi as ApprovalFields, wn as GenerateAssertionsOptions, wr as GraderRerunStatus, wt as BitfabOpenAIAgentHandler, x as CurrentTrace, xi as AllowedEnvVars, xn as AssertionRewrite, xr as GraderRerunError, xt as ReplayInterruptSignal, y as CaptureWhen, yi as SelectiveReplayOptions, yn as AssertionGenerationTimeoutError, yr as DatasetsClient, yt as serializeReplayResult, z as getCurrentSpan, zn as ScenarioDataSources, zr as BitfabClaudeAgentHandler, zt as GraderVerdictUpdate } from "./index-Dh8URnQo.js";
2
- export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
1
+ import { $ as RivetEffectType, $n as TraceTarget, $r as SpanOccurrence, $t as LabelTarget, A as SpanMethodDecoratorContext, Ai as JustificationSpan, An as SaveScenarioHistoryEntry, Ar as RerunGradersOptions, At as GetGraderLabelsParams, B as getCurrentTrace, Bn as ScenarioGeneration, Br as BitfabClaudeAgentHandler, Bt as GradersClient, C as NodeMethodDecorator, Ci as BamlExecutionResult, Cn as AssertionVerdictEvidence, Cr as GraderRerunProgress, Ct as OrganizationMembersClient, D as SeedCaseOptions, Di as Approver, Dn as SaveAssertionsParams, Dr as ListDatasetsParams, Dt as BitfabLangGraphIntegration, E as ReseedResult, Ei as ApprovalState, En as SaveAssertionsAllParams, Er as GraderRerunTimeoutError, Et as BitfabLangGraphAgent, F as WrapOpenAIResponsesOptions, Fn as ScenarioActualOutcome, Fr as BitfabLanguageModelMiddleware, Ft as GraderLabelUpdate, G as TracingProcessor, Gn as ScenarioTrigger, Gr as Category, Gt as HumanLabelUpdate, H as ActiveSpanContext, Hn as ScenarioRecord, Hr as AssertionCategory, Ht as ArchiveVerdictTarget, I as WrapOpenRouterOptions, In as ScenarioData, Ir as BitfabVercelAiHandler, It as GraderVerdict, J as SpanListParams, Jn as TraceAssertionsResult, Jr as SaveCategoryParams, Jt as LabelAction, K as ListedSpan, Kn as TraceAssertion, Kr as CategorySummary, Kt as HumanVerdictOutcome, L as WrappedBamlFn, Ln as ScenarioDataAppend, Lr as VercelCallParams, Lt as GraderVerdictOutcome, M as WrapAnthropicOptions, Mn as SavedTraceAssertion, Mr as SaveDatasetParams, Mt as GraderLabel, N as WrapBAMLOptions, Nn as Scenario, Nr as SaveDatasetResult, Nt as GraderLabelOutcome, O as SeedRunOptions, Oi as Assignee, On as SaveScenarioActualOutcome, Or as RemoveDatasetGradersResult, Ot as LangGraphIntegrationOptions, P as WrapJevOptions, Pn as ScenarioAction, Pr as UpdateDatasetParams, Pt as GraderLabelSource, Q as RivetContextLike, Qn as TraceSearchResult, Qr as SpanLookup, Qt as LabelStatus, R as getCurrentReplayBranch, Rn as ScenarioDataOrigin, Rr as VercelGenerateResult, Rt as GraderVerdictSource, S as DetachedTrace, Si as AllowedEnvVars, Sn as AssertionRewriteStatus, Sr as GraderRerunError, St as OrganizationMember, T as ReseedOptions, Ti as ApprovalFields, Tn as SaveAssertion, Tr as GraderRerunStatus, Tt as BitfabAgentMiddleware, U as BitfabOpenAITracingProcessor, Un as ScenarioRecordInput, Ur as AssertionCategorySummary, Ut as AssertionVerdict, V as CaptureSurface, Vn as ScenarioHistoryEntry, Vr as AssertionCategoriesClient, Vt as ArchiveLabelTarget, W as TraceResponse, Wn as ScenarioSource, Wr as CategoriesClient, Wt as HumanLabelOutcome, X as SpansClient, Xn as TraceSearchFilters, Xr as CodeChangeFile, Xt as LabelOutcome, Y as SpanListResult, Yn as TraceAssertionsUpdate, Yr as CapturedSpan, Yt as LabelConfidence, Z as BitfabRivetIntegration, Zn as TraceSearchParams, Zr as HttpClient, Zt as LabelSource, _ as BitfabConfig, _i as SUPPORTED_PROVIDERS, _n as AssertionGenerationError, _r as Dataset, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as MockOverrideCtx, an as Verdict, ar as ExperimentJitter, at as DbBranchOptions, b as CurrentSpan, bi as SelectiveReplayOptions, bn as AssertionLabelEvidence, br as DatasetsClient, bt as ReplayInterrupt, c as SeedResult, ci as MockValue, cn as VerdictOutcome, cr as ExperimentRollupResult, ct as ReplayError, d as seedFromRegistry, di as SpanNodeMeta, dn as VerdictTarget, dr as ExperimentTally, dt as ReplayItemFinishProgress, ei as SpanType, en as LabelUpdate, er as TraceTargetOccurrence, et as RivetIntegrationOptions, f as finalizers, fi as BitfabError, fn as VerdictUpdate, fr as ExperimentTotals, ft as ReplayItemStartProgress, g as Bitfab, gi as DbSnapshotRef, gn as AssertionGeneration, gr as AddDatasetTracesResult, gt as ReplayResult, h as CommitRef, hi as DbSnapshotProvider, hn as AssertionEvidenceParameter, hr as AddDatasetGradersResult, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as MockOverride, in as TraceVerdicts, ir as ExperimentCodeChangeTotals, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, jn as SaveScenarioParams, jr as RerunGradersResult, jt as GetGraderVerdictsParams, k as SpanMethodDecorator, ki as Justification, kn as SaveScenarioData, kr as RemoveDatasetTracesResult, kt as BitfabLangGraphCallbackHandler, l as defineReplayRegistry, li as NO_MOCK_OVERRIDE, ln as VerdictSource, lr as ExperimentRunBy, lt as ReplayExperiment, m as __version__, mi as DbSnapshotConfig, mn as ArchiveAssertionsParams, mr as ListExperimentsParams, mt as ReplayProgress, n as ReplayRegistration, ni as flushTraces, nn as PassFailVerdict, nr as Experiment, nt as AdaptContext, o as ReseedRegistryResult, oi as MockOverrideInput, on as VerdictAction, or as ExperimentPage, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as MixedTracingError, pn as VerdictsClient, pr as ExperimentsClient, pt as ReplayOptions, q as SpanListField, qn as TraceAssertionSource, qr as SaveAssertionCategoryParams, qt as HumanVerdictUpdate, r as ReplayRegistry, ri as DbBranchTimings, rn as TraceLabels, rr as ExperimentCategoryTally, rt as AdaptInputsFn, s as SeedCase, si as MockOverrideResolver, sn as VerdictConfidence, sr as ExperimentRollup, st as MockStrategy, t as ReplayOptionsFactory, ti as TokenUsage, tn as LabelsClient, tr as TracesClient, tt as ReplayBranch, u as reseedFromRegistry, ui as NodeMatcher, un as VerdictStatus, ur as ExperimentStatus, ut as ReplayItem, v as BitfabFunction, vi as ReplayNodeIdentity, vn as AssertionGenerationStatus, vr as DatasetGraderRef, vt as reportReplayProgress, w as NodeOptions, wi as ProviderDefinition, wn as GenerateAssertionsOptions, wr as GraderRerunResult, wt as BitfabOpenAIAgentHandler, x as CurrentTrace, xi as SelectiveReplayReport, xn as AssertionRewrite, xr as GraderRerun, xt as ReplayInterruptSignal, y as CaptureWhen, yi as SelectiveReplayDecision, yn as AssertionGenerationTimeoutError, yr as DatasetTraceIds, yt as serializeReplayResult, z as getCurrentSpan, zn as ScenarioDataSources, zr as VercelStreamResult, zt as GraderVerdictUpdate } from "./index-DJn-J5ZW.js";
2
+ export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/index.js CHANGED
@@ -7,6 +7,6 @@ if (typeof globalThis.__bitfab_deprecation_warned === "undefined") {
7
7
  "The bitfab package will stop receiving updates in a future release."
8
8
  );
9
9
  }
10
- import { A as ExperimentsClient, C as BitfabOpenAIAgentHandler, D as GradersClient, E as BitfabLangGraphCallbackHandler, F as BitfabClaudeAgentHandler, I as DEFAULT_SERVICE_URL, L as AssertionCategoriesClient, M as DatasetsClient, N as GraderRerunError, O as LabelsClient, P as GraderRerunTimeoutError, R as CategoriesClient, S as OrganizationMembersClient, T as BitfabLangGraphIntegration, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as SUPPORTED_PROVIDERS, k as VerdictsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as NO_MOCK_OVERRIDE, x as serializeReplayResult, y as ReplayError } from "./src-DQnxOnL9.js";
11
- import { S as MixedTracingError, i as flushTraces, t as HttpClient, w as __version__, x as BitfabError } from "./http-2mlGh9MD.js";
10
+ import { A as ExperimentsClient, C as BitfabOpenAIAgentHandler, D as GradersClient, E as BitfabLangGraphCallbackHandler, F as BitfabClaudeAgentHandler, I as DEFAULT_SERVICE_URL, L as AssertionCategoriesClient, M as DatasetsClient, N as GraderRerunError, O as LabelsClient, P as GraderRerunTimeoutError, R as CategoriesClient, S as OrganizationMembersClient, T as BitfabLangGraphIntegration, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as SUPPORTED_PROVIDERS, k as VerdictsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as NO_MOCK_OVERRIDE, x as serializeReplayResult, y as ReplayError } from "./src-CtdBcoBF.js";
11
+ import { S as MixedTracingError, i as flushTraces, t as HttpClient, w as __version__, x as BitfabError } from "./http-9n6clFHt.js";
12
12
  export { AssertionCategoriesClient, AssertionGenerationError, AssertionGenerationTimeoutError, BITFAB_PROGRESS_PREFIX, Bitfab, BitfabClaudeAgentHandler, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, CategoriesClient, DEFAULT_SERVICE_URL, DatasetsClient, DbBranchReplayError, ExperimentsClient, GraderRerunError, GraderRerunTimeoutError, GradersClient, HttpClient, LabelsClient, MixedTracingError, NO_MOCK_OVERRIDE, OrganizationMembersClient, ReplayError, SUPPORTED_PROVIDERS, SpansClient, TracesClient, VerdictsClient, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/node.cjs CHANGED
@@ -11,8 +11,8 @@ Object.defineProperties(exports, {
11
11
  __esModule: { value: true },
12
12
  [Symbol.toStringTag]: { value: "Module" }
13
13
  });
14
- const require_src = require("./src-B7_GnVaZ.cjs");
15
- const require_http = require("./http-DAMAcv_J.cjs");
14
+ const require_src = require("./src-i7rTgxMg.cjs");
15
+ const require_http = require("./http-CqYiYU9P.cjs");
16
16
  const require_autoTrace = require("./autoTrace-DUmR1KJ8.cjs");
17
17
  let async_hooks = require("async_hooks");
18
18
  //#region src/asyncStorageNode.ts
package/dist/node.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as RivetEffectType, $n as TraceTargetOccurrence, $r as SpanType, $t as LabelTarget, A as SpanMethodDecoratorContext, An as SaveScenarioHistoryEntry, Ar as RerunGradersResult, At as GetGraderLabelsParams, B as getCurrentTrace, Bn as ScenarioHistoryEntry, Br as AssertionCategoriesClient, Bt as GradersClient, C as NodeMethodDecorator, Ci as ProviderDefinition, Cn as AssertionVerdictEvidence, Cr as GraderRerunResult, Ct as OrganizationMembersClient, D as SeedCaseOptions, Di as Assignee, Dn as SaveAssertionsParams, Dr as RemoveDatasetGradersResult, Dt as BitfabLangGraphIntegration, E as ReseedResult, Ei as Approver, En as SaveAssertionsAllParams, Er as ListDatasetsParams, Et as BitfabLangGraphAgent, F as WrapOpenAIResponsesOptions, Fn as ScenarioActualOutcome, Fr as BitfabVercelAiHandler, Ft as GraderLabelUpdate, G as TracingProcessor, Gn as TraceAssertion, Gr as CategorySummary, Gt as HumanLabelUpdate, H as ActiveSpanContext, Hn as ScenarioRecordInput, Hr as AssertionCategorySummary, Ht as ArchiveVerdictTarget, I as WrapOpenRouterOptions, In as ScenarioData, Ir as VercelCallParams, It as GraderVerdict, J as SpanListParams, Jn as TraceAssertionsUpdate, Jr as CapturedSpan, Jt as LabelAction, K as ListedSpan, Kn as TraceAssertionSource, Kr as SaveAssertionCategoryParams, Kt as HumanVerdictOutcome, L as WrappedBamlFn, Ln as ScenarioDataAppend, Lr as VercelGenerateResult, Lt as GraderVerdictOutcome, M as WrapAnthropicOptions, Mn as SavedTraceAssertion, Mr as SaveDatasetResult, Mt as GraderLabel, N as WrapBAMLOptions, Nn as Scenario, Nr as UpdateDatasetParams, Nt as GraderLabelOutcome, O as SeedRunOptions, Oi as Justification, On as SaveScenarioActualOutcome, Or as RemoveDatasetTracesResult, Ot as LangGraphIntegrationOptions, P as WrapJevOptions, Pn as ScenarioAction, Pr as BitfabLanguageModelMiddleware, Pt as GraderLabelSource, Q as RivetContextLike, Qn as TraceTarget, Qr as SpanOccurrence, Qt as LabelStatus, R as getCurrentReplayBranch, Rn as ScenarioDataOrigin, Rr as VercelStreamResult, Rt as GraderVerdictSource, S as DetachedTrace, Si as BamlExecutionResult, Sn as AssertionRewriteStatus, Sr as GraderRerunProgress, St as OrganizationMember, T as ReseedOptions, Ti as ApprovalState, Tn as SaveAssertion, Tr as GraderRerunTimeoutError, Tt as BitfabAgentMiddleware, U as BitfabOpenAITracingProcessor, Un as ScenarioSource, Ur as CategoriesClient, Ut as AssertionVerdict, V as CaptureSurface, Vn as ScenarioRecord, Vr as AssertionCategory, Vt as ArchiveLabelTarget, W as TraceResponse, Wn as ScenarioTrigger, Wr as Category, Wt as HumanLabelOutcome, X as SpansClient, Xn as TraceSearchParams, Xr as HttpClient, Xt as LabelOutcome, Y as SpanListResult, Yn as TraceSearchFilters, Yr as CodeChangeFile, Yt as LabelConfidence, Z as BitfabRivetIntegration, Zn as TraceSearchResult, Zr as SpanLookup, Zt as LabelSource, _ as BitfabConfig, _i as ReplayNodeIdentity, _n as AssertionGenerationError, _r as DatasetGraderRef, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as MockOverrideInput, an as Verdict, ar as ExperimentPage, at as DbBranchOptions, b as CurrentSpan, bi as SelectiveReplayReport, bn as AssertionLabelEvidence, br as GraderRerun, bt as ReplayInterrupt, c as SeedResult, ci as NO_MOCK_OVERRIDE, cn as VerdictOutcome, cr as ExperimentRunBy, ct as ReplayError, d as seedFromRegistry, di as BitfabError, dn as VerdictTarget, dr as ExperimentTotals, dt as ReplayItemFinishProgress, ei as TokenUsage, en as LabelUpdate, er as TracesClient, et as RivetIntegrationOptions, f as finalizers, fi as MixedTracingError, fn as VerdictUpdate, fr as ExperimentsClient, ft as ReplayItemStartProgress, g as Bitfab, gi as SUPPORTED_PROVIDERS, gn as AssertionGeneration, gr as Dataset, gt as ReplayResult, h as CommitRef, hi as DbSnapshotRef, hn as AssertionEvidenceParameter, hr as AddDatasetTracesResult, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as MockOverrideCtx, in as TraceVerdicts, ir as ExperimentJitter, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, jn as SaveScenarioParams, jr as SaveDatasetParams, jt as GetGraderVerdictsParams, k as SpanMethodDecorator, ki as JustificationSpan, kn as SaveScenarioData, kr as RerunGradersOptions, kt as BitfabLangGraphCallbackHandler, l as defineReplayRegistry, li as NodeMatcher, ln as VerdictSource, lr as ExperimentStatus, lt as ReplayExperiment, m as __version__, mi as DbSnapshotProvider, mn as ArchiveAssertionsParams, mr as AddDatasetGradersResult, mt as ReplayProgress, n as ReplayRegistration, ni as DbBranchTimings, nn as PassFailVerdict, nr as ExperimentCategoryTally, nt as AdaptContext, o as ReseedRegistryResult, oi as MockOverrideResolver, on as VerdictAction, or as ExperimentRollup, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as DbSnapshotConfig, pn as VerdictsClient, pr as ListExperimentsParams, pt as ReplayOptions, q as SpanListField, qn as TraceAssertionsResult, qr as SaveCategoryParams, qt as HumanVerdictUpdate, r as ReplayRegistry, ri as MockOverride, rn as TraceLabels, rr as ExperimentCodeChangeTotals, rt as AdaptInputsFn, s as SeedCase, si as MockValue, sn as VerdictConfidence, sr as ExperimentRollupResult, st as MockStrategy, t as ReplayOptionsFactory, ti as flushTraces, tn as LabelsClient, tr as Experiment, tt as ReplayBranch, u as reseedFromRegistry, ui as SpanNodeMeta, un as VerdictStatus, ur as ExperimentTally, ut as ReplayItem, v as BitfabFunction, vi as SelectiveReplayDecision, vn as AssertionGenerationStatus, vr as DatasetTraceIds, vt as reportReplayProgress, w as NodeOptions, wi as ApprovalFields, wn as GenerateAssertionsOptions, wr as GraderRerunStatus, wt as BitfabOpenAIAgentHandler, x as CurrentTrace, xi as AllowedEnvVars, xn as AssertionRewrite, xr as GraderRerunError, xt as ReplayInterruptSignal, y as CaptureWhen, yi as SelectiveReplayOptions, yn as AssertionGenerationTimeoutError, yr as DatasetsClient, yt as serializeReplayResult, z as getCurrentSpan, zn as ScenarioDataSources, zr as BitfabClaudeAgentHandler, zt as GraderVerdictUpdate } from "./index-Dh8URnQo.cjs";
2
- export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
1
+ import { $ as RivetEffectType, $n as TraceTarget, $r as SpanOccurrence, $t as LabelTarget, A as SpanMethodDecoratorContext, Ai as JustificationSpan, An as SaveScenarioHistoryEntry, Ar as RerunGradersOptions, At as GetGraderLabelsParams, B as getCurrentTrace, Bn as ScenarioGeneration, Br as BitfabClaudeAgentHandler, Bt as GradersClient, C as NodeMethodDecorator, Ci as BamlExecutionResult, Cn as AssertionVerdictEvidence, Cr as GraderRerunProgress, Ct as OrganizationMembersClient, D as SeedCaseOptions, Di as Approver, Dn as SaveAssertionsParams, Dr as ListDatasetsParams, Dt as BitfabLangGraphIntegration, E as ReseedResult, Ei as ApprovalState, En as SaveAssertionsAllParams, Er as GraderRerunTimeoutError, Et as BitfabLangGraphAgent, F as WrapOpenAIResponsesOptions, Fn as ScenarioActualOutcome, Fr as BitfabLanguageModelMiddleware, Ft as GraderLabelUpdate, G as TracingProcessor, Gn as ScenarioTrigger, Gr as Category, Gt as HumanLabelUpdate, H as ActiveSpanContext, Hn as ScenarioRecord, Hr as AssertionCategory, Ht as ArchiveVerdictTarget, I as WrapOpenRouterOptions, In as ScenarioData, Ir as BitfabVercelAiHandler, It as GraderVerdict, J as SpanListParams, Jn as TraceAssertionsResult, Jr as SaveCategoryParams, Jt as LabelAction, K as ListedSpan, Kn as TraceAssertion, Kr as CategorySummary, Kt as HumanVerdictOutcome, L as WrappedBamlFn, Ln as ScenarioDataAppend, Lr as VercelCallParams, Lt as GraderVerdictOutcome, M as WrapAnthropicOptions, Mn as SavedTraceAssertion, Mr as SaveDatasetParams, Mt as GraderLabel, N as WrapBAMLOptions, Nn as Scenario, Nr as SaveDatasetResult, Nt as GraderLabelOutcome, O as SeedRunOptions, Oi as Assignee, On as SaveScenarioActualOutcome, Or as RemoveDatasetGradersResult, Ot as LangGraphIntegrationOptions, P as WrapJevOptions, Pn as ScenarioAction, Pr as UpdateDatasetParams, Pt as GraderLabelSource, Q as RivetContextLike, Qn as TraceSearchResult, Qr as SpanLookup, Qt as LabelStatus, R as getCurrentReplayBranch, Rn as ScenarioDataOrigin, Rr as VercelGenerateResult, Rt as GraderVerdictSource, S as DetachedTrace, Si as AllowedEnvVars, Sn as AssertionRewriteStatus, Sr as GraderRerunError, St as OrganizationMember, T as ReseedOptions, Ti as ApprovalFields, Tn as SaveAssertion, Tr as GraderRerunStatus, Tt as BitfabAgentMiddleware, U as BitfabOpenAITracingProcessor, Un as ScenarioRecordInput, Ur as AssertionCategorySummary, Ut as AssertionVerdict, V as CaptureSurface, Vn as ScenarioHistoryEntry, Vr as AssertionCategoriesClient, Vt as ArchiveLabelTarget, W as TraceResponse, Wn as ScenarioSource, Wr as CategoriesClient, Wt as HumanLabelOutcome, X as SpansClient, Xn as TraceSearchFilters, Xr as CodeChangeFile, Xt as LabelOutcome, Y as SpanListResult, Yn as TraceAssertionsUpdate, Yr as CapturedSpan, Yt as LabelConfidence, Z as BitfabRivetIntegration, Zn as TraceSearchParams, Zr as HttpClient, Zt as LabelSource, _ as BitfabConfig, _i as SUPPORTED_PROVIDERS, _n as AssertionGenerationError, _r as Dataset, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as MockOverrideCtx, an as Verdict, ar as ExperimentJitter, at as DbBranchOptions, b as CurrentSpan, bi as SelectiveReplayOptions, bn as AssertionLabelEvidence, br as DatasetsClient, bt as ReplayInterrupt, c as SeedResult, ci as MockValue, cn as VerdictOutcome, cr as ExperimentRollupResult, ct as ReplayError, d as seedFromRegistry, di as SpanNodeMeta, dn as VerdictTarget, dr as ExperimentTally, dt as ReplayItemFinishProgress, ei as SpanType, en as LabelUpdate, er as TraceTargetOccurrence, et as RivetIntegrationOptions, f as finalizers, fi as BitfabError, fn as VerdictUpdate, fr as ExperimentTotals, ft as ReplayItemStartProgress, g as Bitfab, gi as DbSnapshotRef, gn as AssertionGeneration, gr as AddDatasetTracesResult, gt as ReplayResult, h as CommitRef, hi as DbSnapshotProvider, hn as AssertionEvidenceParameter, hr as AddDatasetGradersResult, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as MockOverride, in as TraceVerdicts, ir as ExperimentCodeChangeTotals, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, jn as SaveScenarioParams, jr as RerunGradersResult, jt as GetGraderVerdictsParams, k as SpanMethodDecorator, ki as Justification, kn as SaveScenarioData, kr as RemoveDatasetTracesResult, kt as BitfabLangGraphCallbackHandler, l as defineReplayRegistry, li as NO_MOCK_OVERRIDE, ln as VerdictSource, lr as ExperimentRunBy, lt as ReplayExperiment, m as __version__, mi as DbSnapshotConfig, mn as ArchiveAssertionsParams, mr as ListExperimentsParams, mt as ReplayProgress, n as ReplayRegistration, ni as flushTraces, nn as PassFailVerdict, nr as Experiment, nt as AdaptContext, o as ReseedRegistryResult, oi as MockOverrideInput, on as VerdictAction, or as ExperimentPage, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as MixedTracingError, pn as VerdictsClient, pr as ExperimentsClient, pt as ReplayOptions, q as SpanListField, qn as TraceAssertionSource, qr as SaveAssertionCategoryParams, qt as HumanVerdictUpdate, r as ReplayRegistry, ri as DbBranchTimings, rn as TraceLabels, rr as ExperimentCategoryTally, rt as AdaptInputsFn, s as SeedCase, si as MockOverrideResolver, sn as VerdictConfidence, sr as ExperimentRollup, st as MockStrategy, t as ReplayOptionsFactory, ti as TokenUsage, tn as LabelsClient, tr as TracesClient, tt as ReplayBranch, u as reseedFromRegistry, ui as NodeMatcher, un as VerdictStatus, ur as ExperimentStatus, ut as ReplayItem, v as BitfabFunction, vi as ReplayNodeIdentity, vn as AssertionGenerationStatus, vr as DatasetGraderRef, vt as reportReplayProgress, w as NodeOptions, wi as ProviderDefinition, wn as GenerateAssertionsOptions, wr as GraderRerunResult, wt as BitfabOpenAIAgentHandler, x as CurrentTrace, xi as SelectiveReplayReport, xn as AssertionRewrite, xr as GraderRerun, xt as ReplayInterruptSignal, y as CaptureWhen, yi as SelectiveReplayDecision, yn as AssertionGenerationTimeoutError, yr as DatasetTraceIds, yt as serializeReplayResult, z as getCurrentSpan, zn as ScenarioDataSources, zr as VercelStreamResult, zt as GraderVerdictUpdate } from "./index-DJn-J5ZW.cjs";
2
+ export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/node.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as RivetEffectType, $n as TraceTargetOccurrence, $r as SpanType, $t as LabelTarget, A as SpanMethodDecoratorContext, An as SaveScenarioHistoryEntry, Ar as RerunGradersResult, At as GetGraderLabelsParams, B as getCurrentTrace, Bn as ScenarioHistoryEntry, Br as AssertionCategoriesClient, Bt as GradersClient, C as NodeMethodDecorator, Ci as ProviderDefinition, Cn as AssertionVerdictEvidence, Cr as GraderRerunResult, Ct as OrganizationMembersClient, D as SeedCaseOptions, Di as Assignee, Dn as SaveAssertionsParams, Dr as RemoveDatasetGradersResult, Dt as BitfabLangGraphIntegration, E as ReseedResult, Ei as Approver, En as SaveAssertionsAllParams, Er as ListDatasetsParams, Et as BitfabLangGraphAgent, F as WrapOpenAIResponsesOptions, Fn as ScenarioActualOutcome, Fr as BitfabVercelAiHandler, Ft as GraderLabelUpdate, G as TracingProcessor, Gn as TraceAssertion, Gr as CategorySummary, Gt as HumanLabelUpdate, H as ActiveSpanContext, Hn as ScenarioRecordInput, Hr as AssertionCategorySummary, Ht as ArchiveVerdictTarget, I as WrapOpenRouterOptions, In as ScenarioData, Ir as VercelCallParams, It as GraderVerdict, J as SpanListParams, Jn as TraceAssertionsUpdate, Jr as CapturedSpan, Jt as LabelAction, K as ListedSpan, Kn as TraceAssertionSource, Kr as SaveAssertionCategoryParams, Kt as HumanVerdictOutcome, L as WrappedBamlFn, Ln as ScenarioDataAppend, Lr as VercelGenerateResult, Lt as GraderVerdictOutcome, M as WrapAnthropicOptions, Mn as SavedTraceAssertion, Mr as SaveDatasetResult, Mt as GraderLabel, N as WrapBAMLOptions, Nn as Scenario, Nr as UpdateDatasetParams, Nt as GraderLabelOutcome, O as SeedRunOptions, Oi as Justification, On as SaveScenarioActualOutcome, Or as RemoveDatasetTracesResult, Ot as LangGraphIntegrationOptions, P as WrapJevOptions, Pn as ScenarioAction, Pr as BitfabLanguageModelMiddleware, Pt as GraderLabelSource, Q as RivetContextLike, Qn as TraceTarget, Qr as SpanOccurrence, Qt as LabelStatus, R as getCurrentReplayBranch, Rn as ScenarioDataOrigin, Rr as VercelStreamResult, Rt as GraderVerdictSource, S as DetachedTrace, Si as BamlExecutionResult, Sn as AssertionRewriteStatus, Sr as GraderRerunProgress, St as OrganizationMember, T as ReseedOptions, Ti as ApprovalState, Tn as SaveAssertion, Tr as GraderRerunTimeoutError, Tt as BitfabAgentMiddleware, U as BitfabOpenAITracingProcessor, Un as ScenarioSource, Ur as CategoriesClient, Ut as AssertionVerdict, V as CaptureSurface, Vn as ScenarioRecord, Vr as AssertionCategory, Vt as ArchiveLabelTarget, W as TraceResponse, Wn as ScenarioTrigger, Wr as Category, Wt as HumanLabelOutcome, X as SpansClient, Xn as TraceSearchParams, Xr as HttpClient, Xt as LabelOutcome, Y as SpanListResult, Yn as TraceSearchFilters, Yr as CodeChangeFile, Yt as LabelConfidence, Z as BitfabRivetIntegration, Zn as TraceSearchResult, Zr as SpanLookup, Zt as LabelSource, _ as BitfabConfig, _i as ReplayNodeIdentity, _n as AssertionGenerationError, _r as DatasetGraderRef, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as MockOverrideInput, an as Verdict, ar as ExperimentPage, at as DbBranchOptions, b as CurrentSpan, bi as SelectiveReplayReport, bn as AssertionLabelEvidence, br as GraderRerun, bt as ReplayInterrupt, c as SeedResult, ci as NO_MOCK_OVERRIDE, cn as VerdictOutcome, cr as ExperimentRunBy, ct as ReplayError, d as seedFromRegistry, di as BitfabError, dn as VerdictTarget, dr as ExperimentTotals, dt as ReplayItemFinishProgress, ei as TokenUsage, en as LabelUpdate, er as TracesClient, et as RivetIntegrationOptions, f as finalizers, fi as MixedTracingError, fn as VerdictUpdate, fr as ExperimentsClient, ft as ReplayItemStartProgress, g as Bitfab, gi as SUPPORTED_PROVIDERS, gn as AssertionGeneration, gr as Dataset, gt as ReplayResult, h as CommitRef, hi as DbSnapshotRef, hn as AssertionEvidenceParameter, hr as AddDatasetTracesResult, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as MockOverrideCtx, in as TraceVerdicts, ir as ExperimentJitter, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, jn as SaveScenarioParams, jr as SaveDatasetParams, jt as GetGraderVerdictsParams, k as SpanMethodDecorator, ki as JustificationSpan, kn as SaveScenarioData, kr as RerunGradersOptions, kt as BitfabLangGraphCallbackHandler, l as defineReplayRegistry, li as NodeMatcher, ln as VerdictSource, lr as ExperimentStatus, lt as ReplayExperiment, m as __version__, mi as DbSnapshotProvider, mn as ArchiveAssertionsParams, mr as AddDatasetGradersResult, mt as ReplayProgress, n as ReplayRegistration, ni as DbBranchTimings, nn as PassFailVerdict, nr as ExperimentCategoryTally, nt as AdaptContext, o as ReseedRegistryResult, oi as MockOverrideResolver, on as VerdictAction, or as ExperimentRollup, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as DbSnapshotConfig, pn as VerdictsClient, pr as ListExperimentsParams, pt as ReplayOptions, q as SpanListField, qn as TraceAssertionsResult, qr as SaveCategoryParams, qt as HumanVerdictUpdate, r as ReplayRegistry, ri as MockOverride, rn as TraceLabels, rr as ExperimentCodeChangeTotals, rt as AdaptInputsFn, s as SeedCase, si as MockValue, sn as VerdictConfidence, sr as ExperimentRollupResult, st as MockStrategy, t as ReplayOptionsFactory, ti as flushTraces, tn as LabelsClient, tr as Experiment, tt as ReplayBranch, u as reseedFromRegistry, ui as SpanNodeMeta, un as VerdictStatus, ur as ExperimentTally, ut as ReplayItem, v as BitfabFunction, vi as SelectiveReplayDecision, vn as AssertionGenerationStatus, vr as DatasetTraceIds, vt as reportReplayProgress, w as NodeOptions, wi as ApprovalFields, wn as GenerateAssertionsOptions, wr as GraderRerunStatus, wt as BitfabOpenAIAgentHandler, x as CurrentTrace, xi as AllowedEnvVars, xn as AssertionRewrite, xr as GraderRerunError, xt as ReplayInterruptSignal, y as CaptureWhen, yi as SelectiveReplayOptions, yn as AssertionGenerationTimeoutError, yr as DatasetsClient, yt as serializeReplayResult, z as getCurrentSpan, zn as ScenarioDataSources, zr as BitfabClaudeAgentHandler, zt as GraderVerdictUpdate } from "./index-Dh8URnQo.js";
2
- export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
1
+ import { $ as RivetEffectType, $n as TraceTarget, $r as SpanOccurrence, $t as LabelTarget, A as SpanMethodDecoratorContext, Ai as JustificationSpan, An as SaveScenarioHistoryEntry, Ar as RerunGradersOptions, At as GetGraderLabelsParams, B as getCurrentTrace, Bn as ScenarioGeneration, Br as BitfabClaudeAgentHandler, Bt as GradersClient, C as NodeMethodDecorator, Ci as BamlExecutionResult, Cn as AssertionVerdictEvidence, Cr as GraderRerunProgress, Ct as OrganizationMembersClient, D as SeedCaseOptions, Di as Approver, Dn as SaveAssertionsParams, Dr as ListDatasetsParams, Dt as BitfabLangGraphIntegration, E as ReseedResult, Ei as ApprovalState, En as SaveAssertionsAllParams, Er as GraderRerunTimeoutError, Et as BitfabLangGraphAgent, F as WrapOpenAIResponsesOptions, Fn as ScenarioActualOutcome, Fr as BitfabLanguageModelMiddleware, Ft as GraderLabelUpdate, G as TracingProcessor, Gn as ScenarioTrigger, Gr as Category, Gt as HumanLabelUpdate, H as ActiveSpanContext, Hn as ScenarioRecord, Hr as AssertionCategory, Ht as ArchiveVerdictTarget, I as WrapOpenRouterOptions, In as ScenarioData, Ir as BitfabVercelAiHandler, It as GraderVerdict, J as SpanListParams, Jn as TraceAssertionsResult, Jr as SaveCategoryParams, Jt as LabelAction, K as ListedSpan, Kn as TraceAssertion, Kr as CategorySummary, Kt as HumanVerdictOutcome, L as WrappedBamlFn, Ln as ScenarioDataAppend, Lr as VercelCallParams, Lt as GraderVerdictOutcome, M as WrapAnthropicOptions, Mn as SavedTraceAssertion, Mr as SaveDatasetParams, Mt as GraderLabel, N as WrapBAMLOptions, Nn as Scenario, Nr as SaveDatasetResult, Nt as GraderLabelOutcome, O as SeedRunOptions, Oi as Assignee, On as SaveScenarioActualOutcome, Or as RemoveDatasetGradersResult, Ot as LangGraphIntegrationOptions, P as WrapJevOptions, Pn as ScenarioAction, Pr as UpdateDatasetParams, Pt as GraderLabelSource, Q as RivetContextLike, Qn as TraceSearchResult, Qr as SpanLookup, Qt as LabelStatus, R as getCurrentReplayBranch, Rn as ScenarioDataOrigin, Rr as VercelGenerateResult, Rt as GraderVerdictSource, S as DetachedTrace, Si as AllowedEnvVars, Sn as AssertionRewriteStatus, Sr as GraderRerunError, St as OrganizationMember, T as ReseedOptions, Ti as ApprovalFields, Tn as SaveAssertion, Tr as GraderRerunStatus, Tt as BitfabAgentMiddleware, U as BitfabOpenAITracingProcessor, Un as ScenarioRecordInput, Ur as AssertionCategorySummary, Ut as AssertionVerdict, V as CaptureSurface, Vn as ScenarioHistoryEntry, Vr as AssertionCategoriesClient, Vt as ArchiveLabelTarget, W as TraceResponse, Wn as ScenarioSource, Wr as CategoriesClient, Wt as HumanLabelOutcome, X as SpansClient, Xn as TraceSearchFilters, Xr as CodeChangeFile, Xt as LabelOutcome, Y as SpanListResult, Yn as TraceAssertionsUpdate, Yr as CapturedSpan, Yt as LabelConfidence, Z as BitfabRivetIntegration, Zn as TraceSearchParams, Zr as HttpClient, Zt as LabelSource, _ as BitfabConfig, _i as SUPPORTED_PROVIDERS, _n as AssertionGenerationError, _r as Dataset, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as MockOverrideCtx, an as Verdict, ar as ExperimentJitter, at as DbBranchOptions, b as CurrentSpan, bi as SelectiveReplayOptions, bn as AssertionLabelEvidence, br as DatasetsClient, bt as ReplayInterrupt, c as SeedResult, ci as MockValue, cn as VerdictOutcome, cr as ExperimentRollupResult, ct as ReplayError, d as seedFromRegistry, di as SpanNodeMeta, dn as VerdictTarget, dr as ExperimentTally, dt as ReplayItemFinishProgress, ei as SpanType, en as LabelUpdate, er as TraceTargetOccurrence, et as RivetIntegrationOptions, f as finalizers, fi as BitfabError, fn as VerdictUpdate, fr as ExperimentTotals, ft as ReplayItemStartProgress, g as Bitfab, gi as DbSnapshotRef, gn as AssertionGeneration, gr as AddDatasetTracesResult, gt as ReplayResult, h as CommitRef, hi as DbSnapshotProvider, hn as AssertionEvidenceParameter, hr as AddDatasetGradersResult, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as MockOverride, in as TraceVerdicts, ir as ExperimentCodeChangeTotals, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, jn as SaveScenarioParams, jr as RerunGradersResult, jt as GetGraderVerdictsParams, k as SpanMethodDecorator, ki as Justification, kn as SaveScenarioData, kr as RemoveDatasetTracesResult, kt as BitfabLangGraphCallbackHandler, l as defineReplayRegistry, li as NO_MOCK_OVERRIDE, ln as VerdictSource, lr as ExperimentRunBy, lt as ReplayExperiment, m as __version__, mi as DbSnapshotConfig, mn as ArchiveAssertionsParams, mr as ListExperimentsParams, mt as ReplayProgress, n as ReplayRegistration, ni as flushTraces, nn as PassFailVerdict, nr as Experiment, nt as AdaptContext, o as ReseedRegistryResult, oi as MockOverrideInput, on as VerdictAction, or as ExperimentPage, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as MixedTracingError, pn as VerdictsClient, pr as ExperimentsClient, pt as ReplayOptions, q as SpanListField, qn as TraceAssertionSource, qr as SaveAssertionCategoryParams, qt as HumanVerdictUpdate, r as ReplayRegistry, ri as DbBranchTimings, rn as TraceLabels, rr as ExperimentCategoryTally, rt as AdaptInputsFn, s as SeedCase, si as MockOverrideResolver, sn as VerdictConfidence, sr as ExperimentRollup, st as MockStrategy, t as ReplayOptionsFactory, ti as TokenUsage, tn as LabelsClient, tr as TracesClient, tt as ReplayBranch, u as reseedFromRegistry, ui as NodeMatcher, un as VerdictStatus, ur as ExperimentStatus, ut as ReplayItem, v as BitfabFunction, vi as ReplayNodeIdentity, vn as AssertionGenerationStatus, vr as DatasetGraderRef, vt as reportReplayProgress, w as NodeOptions, wi as ProviderDefinition, wn as GenerateAssertionsOptions, wr as GraderRerunResult, wt as BitfabOpenAIAgentHandler, x as CurrentTrace, xi as SelectiveReplayReport, xn as AssertionRewrite, xr as GraderRerun, xt as ReplayInterruptSignal, y as CaptureWhen, yi as SelectiveReplayDecision, yn as AssertionGenerationTimeoutError, yr as DatasetTraceIds, yt as serializeReplayResult, z as getCurrentSpan, zn as ScenarioDataSources, zr as VercelStreamResult, zt as GraderVerdictUpdate } from "./index-DJn-J5ZW.js";
2
+ export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/node.js CHANGED
@@ -7,8 +7,8 @@ if (typeof globalThis.__bitfab_deprecation_warned === "undefined") {
7
7
  "The bitfab package will stop receiving updates in a future release."
8
8
  );
9
9
  }
10
- import { A as ExperimentsClient, C as BitfabOpenAIAgentHandler, D as GradersClient, E as BitfabLangGraphCallbackHandler, F as BitfabClaudeAgentHandler, I as DEFAULT_SERVICE_URL, L as AssertionCategoriesClient, M as DatasetsClient, N as GraderRerunError, O as LabelsClient, P as GraderRerunTimeoutError, R as CategoriesClient, S as OrganizationMembersClient, T as BitfabLangGraphIntegration, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as SUPPORTED_PROVIDERS, k as VerdictsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as NO_MOCK_OVERRIDE, x as serializeReplayResult, y as ReplayError } from "./src-DQnxOnL9.js";
11
- import { S as MixedTracingError, i as flushTraces, t as HttpClient, w as __version__, x as BitfabError } from "./http-2mlGh9MD.js";
10
+ import { A as ExperimentsClient, C as BitfabOpenAIAgentHandler, D as GradersClient, E as BitfabLangGraphCallbackHandler, F as BitfabClaudeAgentHandler, I as DEFAULT_SERVICE_URL, L as AssertionCategoriesClient, M as DatasetsClient, N as GraderRerunError, O as LabelsClient, P as GraderRerunTimeoutError, R as CategoriesClient, S as OrganizationMembersClient, T as BitfabLangGraphIntegration, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as SUPPORTED_PROVIDERS, k as VerdictsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as NO_MOCK_OVERRIDE, x as serializeReplayResult, y as ReplayError } from "./src-CtdBcoBF.js";
11
+ import { S as MixedTracingError, i as flushTraces, t as HttpClient, w as __version__, x as BitfabError } from "./http-9n6clFHt.js";
12
12
  import { H as registerAsyncLocalStorageClass, R as assertAsyncStorageRegistered } from "./autoTrace-DVnpnuMb.js";
13
13
  import { AsyncLocalStorage } from "async_hooks";
14
14
  //#region src/asyncStorageNode.ts
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.js";
2
- import { C as readEnv$1, S as MixedTracingError, _ as getReplayContext, b as gitRunner, c as recordCallerTraceMetadata, f as ROOT_TRACE_FUNCTION_KEY_FIELD, g as MAX_COMPRESSIBLE_SPAN_CARRIER_BYTES, h as makeSpanOrigin, i as flushTraces, l as retireTraceMetadata, m as isFrameworkInstrumentation, n as SPAN_TYPES, o as unrefTimer, p as SimulationPlan, r as experimentIdWireFields, s as callerTraceMetadata, t as HttpClient, v as replayContextReady, w as __version__, x as BitfabError, y as runWithReplayContext } from "./http-2mlGh9MD.js";
2
+ import { C as readEnv$1, S as MixedTracingError, _ as getReplayContext, b as gitRunner, c as recordCallerTraceMetadata, f as ROOT_TRACE_FUNCTION_KEY_FIELD, g as MAX_COMPRESSIBLE_SPAN_CARRIER_BYTES, h as makeSpanOrigin, i as flushTraces, l as retireTraceMetadata, m as isFrameworkInstrumentation, n as SPAN_TYPES, o as unrefTimer, p as SimulationPlan, r as experimentIdWireFields, s as callerTraceMetadata, t as HttpClient, v as replayContextReady, w as __version__, x as BitfabError, y as runWithReplayContext } from "./http-9n6clFHt.js";
3
3
  import { A as forgetLangChainRun, B as createAsyncLocalStorage, C as recordWatchedClientCall, D as openAiAgentsParentSpanId, E as mapOpenAiAgentsTrace, F as writeOnce, I as isCaptureSuppressed, L as runWithCaptureSuppressed, M as markLangChainRunRecorded, O as openAiAgentsSpanChain, P as warnOnce, S as recordAutoTracedClientCall, T as endOpenAiAgentsSpan, V as isAsyncStorageInitDone, _ as ANTHROPIC, b as clientCallProvider, f as invokeThroughAutoTraceEntries, g as runWithAutoTraceRootContext, h as runWithAutoTraceNodeConfiguration, j as installLangChainRunScopes, k as unmapOpenAiAgentsTrace, l as clearAutoTraceNodeConfiguration, m as runWithAutoTraceEntry, o as __bitfabAutoTraceActive, p as runAsAutoTraceRootFunction, u as currentAutoTraceEntries, v as OPENAI_RESPONSES, w as watchClientCall, x as frameworkRecordsClientCall, y as OPENROUTER, z as asyncStorageReady } from "./autoTrace-DVnpnuMb.js";
4
4
  import { t as importOptionalPeer } from "./optionalPeer-CczrzrXx.js";
5
5
  import { t as loadBamlModule } from "./bamlPeer-Dyeb3e5o.js";
@@ -4599,6 +4599,9 @@ var TracesClient = class {
4599
4599
  async getScenario(traceId) {
4600
4600
  return (await this.httpClient.get(traceScenarioPath(traceId))).scenario;
4601
4601
  }
4602
+ async generateScenario(traceId) {
4603
+ return (await this.httpClient.request(`${traceScenarioPath(traceId)}/generate`, {})).generation;
4604
+ }
4602
4605
  async saveScenario({ traceId, ...edit }) {
4603
4606
  return (await this.httpClient.request(traceScenarioPath(traceId), withoutDataRecords(edit))).scenario;
4604
4607
  }
@@ -6573,7 +6576,7 @@ var Bitfab = class {
6573
6576
  await runWithSeedContext({ traceId }, async () => target(...args));
6574
6577
  } finally {
6575
6578
  try {
6576
- const { flushTraces } = await import("./http-2mlGh9MD.js").then((n) => n.a);
6579
+ const { flushTraces } = await import("./http-9n6clFHt.js").then((n) => n.a);
6577
6580
  await flushTraces(3e4);
6578
6581
  } finally {
6579
6582
  unrecorded = activeTraceStates.delete(traceId);
@@ -6776,7 +6779,7 @@ async function seedFromRegistry(registry, pipeline, cases, options = {}) {
6776
6779
  metadata: seedCase.metadata,
6777
6780
  sessionId: seedCase.sessionId
6778
6781
  }));
6779
- const { flushTraces } = await import("./http-2mlGh9MD.js").then((n) => n.a);
6782
+ const { flushTraces } = await import("./http-9n6clFHt.js").then((n) => n.a);
6780
6783
  await flushTraces(3e4);
6781
6784
  return {
6782
6785
  pipeline,
@@ -6793,4 +6796,4 @@ function resolveTraceFunctionKey(registration) {
6793
6796
  //#endregion
6794
6797
  export { ExperimentsClient as A, BitfabOpenAIAgentHandler as C, GradersClient as D, BitfabLangGraphCallbackHandler as E, BitfabClaudeAgentHandler as F, DEFAULT_SERVICE_URL as I, AssertionCategoriesClient as L, DatasetsClient as M, GraderRerunError as N, LabelsClient as O, GraderRerunTimeoutError as P, CategoriesClient as R, OrganizationMembersClient as S, BitfabLangGraphIntegration as T, BITFAB_PROGRESS_PREFIX as _, Bitfab as a, reportReplayProgress as b, getCurrentSpan as c, BitfabOpenAITracingProcessor as d, AssertionGenerationError as f, BitfabRivetIntegration as g, SpansClient as h, finalizers as i, SUPPORTED_PROVIDERS as j, VerdictsClient as k, getCurrentTrace as l, TracesClient as m, reseedFromRegistry as n, BitfabFunction as o, AssertionGenerationTimeoutError as p, seedFromRegistry as r, getCurrentReplayBranch as s, defineReplayRegistry as t, BitfabVercelAiHandler as u, DbBranchReplayError as v, NO_MOCK_OVERRIDE as w, serializeReplayResult as x, ReplayError as y };
6795
6798
 
6796
- //# sourceMappingURL=src-DQnxOnL9.js.map
6799
+ //# sourceMappingURL=src-CtdBcoBF.js.map