@bitfab/sdk 0.74.1 → 0.74.3

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.
@@ -2216,6 +2216,17 @@ type ScenarioGeneration = {
2216
2216
  /** `generating` once a build is started, or the scenario's status when it already had one. */
2217
2217
  creationStatus: ScenarioCreationStatus;
2218
2218
  };
2219
+ type GenerateScenarioOptions = {
2220
+ /**
2221
+ * Build a scenario the trace already has again. Its name, description,
2222
+ * trigger, data, and actual outcome are cleared and built over, and the
2223
+ * organization's scenario callback, when one is set up, is asked again.
2224
+ * Its categories, review status, labels, and assertions are kept. Asking
2225
+ * while it is generating starts nothing more. Defaults to false, which
2226
+ * leaves an existing scenario as it is.
2227
+ */
2228
+ regenerate?: boolean;
2229
+ };
2219
2230
  type GenerateAssertionsOptions = {
2220
2231
  guidance?: string;
2221
2232
  categoryIds?: string[];
@@ -2268,12 +2279,12 @@ declare class TracesClient {
2268
2279
  * Start building the scenario for one trace and return at once, without
2269
2280
  * waiting for it. Read it later with `getScenario` until its `creationStatus`
2270
2281
  * is `created` or `error`. A scenario whose build failed is started again. A trace that already has
2271
- * a scenario is left as it is. A replay, a trace outside the organization,
2282
+ * a scenario is left as it is unless `regenerate` is true. A replay, a trace outside the organization,
2272
2283
  * or a trace Bitfab cannot build a scenario for (not `noah-agent-turn` and
2273
2284
  * no scenario callback) is refused. Adding a trace to a dataset starts the
2274
2285
  * same build only when the organization has a scenario callback.
2275
2286
  */
2276
- generateScenario(traceId: string): Promise<ScenarioGeneration>;
2287
+ generateScenario(traceId: string, options?: GenerateScenarioOptions): Promise<ScenarioGeneration>;
2277
2288
  saveScenario({ traceId, ...edit }: SaveScenarioParams): Promise<Scenario>;
2278
2289
  }
2279
2290
  //#endregion
@@ -5308,7 +5319,7 @@ interface CommitRef {
5308
5319
  /**
5309
5320
  * SDK version from package.json (injected at build time)
5310
5321
  */
5311
- declare const __version__ = "0.74.1";
5322
+ declare const __version__ = "0.74.3";
5312
5323
  //#endregion
5313
5324
  //#region src/constants.d.ts
5314
5325
  /**
@@ -5450,4 +5461,4 @@ declare function seedFromRegistry(registry: ReplayRegistry, pipeline: string, ca
5450
5461
  run?: boolean;
5451
5462
  }): Promise<SeedResult>;
5452
5463
  //#endregion
5453
- export { RivetEffectType as $, TraceAssertionsResult as $n, AssertionCategorySummary as $r, LabelSource as $t, SpanMethodDecoratorContext as A, SelectiveReplayOptions as Ai, SaveAssertionsAllParams as An, DatasetsClient as Ar, LangGraphIntegrationOptions as At, getCurrentTrace as B, JustificationSpan as Bi, ScenarioCreationStatus as Bn, RerunGradersOptions as Br, GraderVerdictSource as Bt, NodeMethodDecorator as C, MixedTracingError as Ci, AssertionKind as Cn, ExperimentsClient as Cr, PiIntegrationOptions as Ct, SeedCaseOptions as D, SUPPORTED_PROVIDERS as Di, AssertionVerdictEvidence as Dn, Dataset as Dr, BitfabAgentMiddleware as Dt, ReseedResult as E, DbSnapshotRef as Ei, AssertionRewriteStatus as En, AddDatasetTracesResult as Er, BitfabOpenAIAgentHandler as Et, WrapOpenAIResponsesOptions as F, ApprovalFields as Fi, SaveScenarioParams as Fn, GraderRerunStatus as Fr, GraderLabelOutcome as Ft, TracingProcessor as G, ScenarioGeneration as Gn, BitfabLanguageModelMiddleware as Gr, AssertionVerdict as Gt, ActiveSpanContext as H, ScenarioDataAppend as Hn, SaveDatasetParams as Hr, GradersClient as Ht, WrapOpenRouterOptions as I, ApprovalState as Ii, SavedTraceAssertion as In, GraderRerunTimeoutError as Ir, GraderLabelSource as It, SpanListParams as J, ScenarioRecordInput as Jn, VercelGenerateResult as Jr, HumanVerdictOutcome as Jt, ListedSpan as K, ScenarioHistoryEntry as Kn, BitfabVercelAiHandler as Kr, HumanLabelOutcome as Kt, WrappedBamlFn as L, Approver as Li, Scenario as Ln, ListDatasetsParams as Lr, GraderLabelUpdate as Lt, WrapAnthropicOptions as M, AllowedEnvVars as Mi, SaveScenarioActualOutcome as Mn, GraderRerunError as Mr, GetGraderLabelsParams as Mt, WrapBAMLOptions as N, BamlExecutionResult as Ni, SaveScenarioData as Nn, GraderRerunProgress as Nr, GetGraderVerdictsParams as Nt, SeedRunOptions as O, ReplayNodeIdentity as Oi, GenerateAssertionsOptions as On, DatasetGraderRef as Or, BitfabLangGraphAgent as Ot, WrapJevOptions as P, ProviderDefinition as Pi, SaveScenarioHistoryEntry as Pn, GraderRerunResult as Pr, GraderLabel as Pt, RivetContextLike as Q, TraceAssertionSource as Qn, AssertionCategory as Qr, LabelOutcome as Qt, getCurrentReplayBranch as R, Assignee as Ri, ScenarioAction as Rn, RemoveDatasetGradersResult as Rr, GraderVerdict as Rt, DetachedTrace as S, BitfabError as Si, AssertionGenerationTimeoutError as Sn, ExperimentTotals as Sr, BitfabPiIntegration as St, ReseedOptions as T, DbSnapshotProvider as Ti, AssertionRewrite as Tn, AddDatasetGradersResult as Tr, OrganizationMembersClient as Tt, BitfabOpenAITracingProcessor as U, ScenarioDataOrigin as Un, SaveDatasetResult as Ur, ArchiveLabelTarget as Ut, CaptureSurface as V, ScenarioData as Vn, RerunGradersResult as Vr, GraderVerdictUpdate as Vt, TraceResponse as W, ScenarioDataSources as Wn, UpdateDatasetParams as Wr, ArchiveVerdictTarget as Wt, SpansClient as X, ScenarioTrigger as Xn, BitfabClaudeAgentHandler as Xr, LabelAction as Xt, SpanListResult as Y, ScenarioSource as Yn, VercelStreamResult as Yr, HumanVerdictUpdate as Yt, BitfabRivetIntegration as Z, TraceAssertion as Zn, AssertionCategoriesClient as Zr, LabelConfidence as Zt, BitfabConfig as _, MockOverrideResolver as _i, AssertionCode as _n, ExperimentSummaryBeforeAfter as _r, TraceIngestionType as _t, ReplayRegistryOptions as a, CapturedSpan as ai, TraceLabels as an, TraceTargetOccurrence as ar, DbBranchOptions as at, CurrentSpan as b, NodeMatcher as bi, AssertionGenerationError as bn, ExperimentSummaryResult as br, ReplayInterrupt as bt, SeedResult as c, SpanLookup as ci, VerdictAction as cn, ExperimentCategoryTally as cr, ReplayError as ct, seedFromRegistry as d, TokenUsage as di, VerdictSource as dn, ExperimentPage as dr, ReplayItemFinishProgress as dt, CategoriesClient as ei, LabelStatus as en, TraceAssertionsUpdate as er, RivetIntegrationOptions as et, finalizers as f, flushTraces as fi, VerdictStatus as fn, ExperimentRollup as fr, ReplayItemStartProgress as ft, Bitfab as g, MockOverrideInput as gi, ArchiveAssertionsParams as gn, ExperimentSummary as gr, ReplayResult as gt, CommitRef as h, MockOverrideCtx as hi, VerdictsClient as hn, ExperimentStatus as hr, ReplayProgressItem as ht, ReplayRegistryContext as i, SaveCategoryParams as ii, PassFailVerdict as in, TraceTarget as ir, BITFAB_PROGRESS_PREFIX as it, SpanOptions as j, SelectiveReplayReport as ji, SaveAssertionsParams as jn, GraderRerun as jr, BitfabLangGraphCallbackHandler as jt, SpanMethodDecorator as k, SelectiveReplayDecision as ki, SaveAssertion as kn, DatasetTraceIds as kr, BitfabLangGraphIntegration as kt, defineReplayRegistry as l, SpanOccurrence as li, VerdictConfidence as ln, ExperimentCodeChangeTotals as lr, ReplayExperiment as lt, __version__ as m, MockOverride as mi, VerdictUpdate as mn, ExperimentRunBy as mr, ReplayProgress as mt, ReplayRegistration as n, CategorySummary as ni, LabelUpdate as nn, TraceSearchParams as nr, AdaptContext as nt, ReseedRegistryResult as o, CodeChangeFile as oi, TraceVerdicts as on, TracesClient as or, DbBranchReplayError as ot, DEFAULT_SERVICE_URL as p, DbBranchTimings as pi, VerdictTarget as pn, ExperimentRollupResult as pr, ReplayOptions as pt, SpanListField as q, ScenarioRecord as qn, VercelCallParams as qr, HumanLabelUpdate as qt, ReplayRegistry as r, SaveAssertionCategoryParams as ri, LabelsClient as rn, TraceSearchResult as rr, AdaptInputsFn as rt, SeedCase as s, HttpClient as si, Verdict as sn, Experiment as sr, MockStrategy as st, ReplayOptionsFactory as t, Category as ti, LabelTarget as tn, TraceSearchFilters as tr, ReplayBranch as tt, reseedFromRegistry as u, SpanType as ui, VerdictOutcome as un, ExperimentJitter as ur, ReplayItem as ut, BitfabFunction as v, MockValue as vi, AssertionEvidenceParameter as vn, ExperimentSummaryExampleTrace as vr, reportReplayProgress as vt, NodeOptions as w, DbSnapshotConfig as wi, AssertionLabelEvidence as wn, ListExperimentsParams as wr, OrganizationMember as wt, CurrentTrace as x, SpanNodeMeta as xi, AssertionGenerationStatus as xn, ExperimentTally as xr, ReplayInterruptSignal as xt, CaptureWhen as y, NO_MOCK_OVERRIDE as yi, AssertionGeneration as yn, ExperimentSummaryFacts as yr, serializeReplayResult as yt, getCurrentSpan as z, Justification as zi, ScenarioActualOutcome as zn, RemoveDatasetTracesResult as zr, GraderVerdictOutcome as zt };
5464
+ export { RivetEffectType as $, TraceAssertionSource as $n, AssertionCategory as $r, LabelSource as $t, SpanMethodDecoratorContext as A, SelectiveReplayDecision as Ai, SaveAssertion as An, DatasetTraceIds as Ar, LangGraphIntegrationOptions as At, getCurrentTrace as B, Justification as Bi, ScenarioActualOutcome as Bn, RemoveDatasetTracesResult as Br, GraderVerdictSource as Bt, NodeMethodDecorator as C, BitfabError as Ci, AssertionKind as Cn, ExperimentTotals as Cr, PiIntegrationOptions as Ct, SeedCaseOptions as D, DbSnapshotRef as Di, AssertionVerdictEvidence as Dn, AddDatasetTracesResult as Dr, BitfabAgentMiddleware as Dt, ReseedResult as E, DbSnapshotProvider as Ei, AssertionRewriteStatus as En, AddDatasetGradersResult as Er, BitfabOpenAIAgentHandler as Et, WrapOpenAIResponsesOptions as F, ProviderDefinition as Fi, SaveScenarioHistoryEntry as Fn, GraderRerunResult as Fr, GraderLabelOutcome as Ft, TracingProcessor as G, ScenarioDataSources as Gn, UpdateDatasetParams as Gr, AssertionVerdict as Gt, ActiveSpanContext as H, ScenarioData as Hn, RerunGradersResult as Hr, GradersClient as Ht, WrapOpenRouterOptions as I, ApprovalFields as Ii, SaveScenarioParams as In, GraderRerunStatus as Ir, GraderLabelSource as It, SpanListParams as J, ScenarioRecord as Jn, VercelCallParams as Jr, HumanVerdictOutcome as Jt, ListedSpan as K, ScenarioGeneration as Kn, BitfabLanguageModelMiddleware as Kr, HumanLabelOutcome as Kt, WrappedBamlFn as L, ApprovalState as Li, SavedTraceAssertion as Ln, GraderRerunTimeoutError as Lr, GraderLabelUpdate as Lt, WrapAnthropicOptions as M, SelectiveReplayReport as Mi, SaveAssertionsParams as Mn, GraderRerun as Mr, GetGraderLabelsParams as Mt, WrapBAMLOptions as N, AllowedEnvVars as Ni, SaveScenarioActualOutcome as Nn, GraderRerunError as Nr, GetGraderVerdictsParams as Nt, SeedRunOptions as O, SUPPORTED_PROVIDERS as Oi, GenerateAssertionsOptions as On, Dataset as Or, BitfabLangGraphAgent as Ot, WrapJevOptions as P, BamlExecutionResult as Pi, SaveScenarioData as Pn, GraderRerunProgress as Pr, GraderLabel as Pt, RivetContextLike as Q, TraceAssertion as Qn, AssertionCategoriesClient as Qr, LabelOutcome as Qt, getCurrentReplayBranch as R, Approver as Ri, Scenario as Rn, ListDatasetsParams as Rr, GraderVerdict as Rt, DetachedTrace as S, SpanNodeMeta as Si, AssertionGenerationTimeoutError as Sn, ExperimentTally as Sr, BitfabPiIntegration as St, ReseedOptions as T, DbSnapshotConfig as Ti, AssertionRewrite as Tn, ListExperimentsParams as Tr, OrganizationMembersClient as Tt, BitfabOpenAITracingProcessor as U, ScenarioDataAppend as Un, SaveDatasetParams as Ur, ArchiveLabelTarget as Ut, CaptureSurface as V, JustificationSpan as Vi, ScenarioCreationStatus as Vn, RerunGradersOptions as Vr, GraderVerdictUpdate as Vt, TraceResponse as W, ScenarioDataOrigin as Wn, SaveDatasetResult as Wr, ArchiveVerdictTarget as Wt, SpansClient as X, ScenarioSource as Xn, VercelStreamResult as Xr, LabelAction as Xt, SpanListResult as Y, ScenarioRecordInput as Yn, VercelGenerateResult as Yr, HumanVerdictUpdate as Yt, BitfabRivetIntegration as Z, ScenarioTrigger as Zn, BitfabClaudeAgentHandler as Zr, LabelConfidence as Zt, BitfabConfig as _, MockOverrideInput as _i, AssertionCode as _n, ExperimentSummary as _r, TraceIngestionType as _t, ReplayRegistryOptions as a, SaveCategoryParams as ai, TraceLabels as an, TraceTarget as ar, DbBranchOptions as at, CurrentSpan as b, NO_MOCK_OVERRIDE as bi, AssertionGenerationError as bn, ExperimentSummaryFacts as br, ReplayInterrupt as bt, SeedResult as c, HttpClient as ci, VerdictAction as cn, Experiment as cr, ReplayError as ct, seedFromRegistry as d, SpanType as di, VerdictSource as dn, ExperimentJitter as dr, ReplayItemFinishProgress as dt, AssertionCategorySummary as ei, LabelStatus as en, TraceAssertionsResult as er, RivetIntegrationOptions as et, finalizers as f, TokenUsage as fi, VerdictStatus as fn, ExperimentPage as fr, ReplayItemStartProgress as ft, Bitfab as g, MockOverrideCtx as gi, ArchiveAssertionsParams as gn, ExperimentStatus as gr, ReplayResult as gt, CommitRef as h, MockOverride as hi, VerdictsClient as hn, ExperimentRunBy as hr, ReplayProgressItem as ht, ReplayRegistryContext as i, SaveAssertionCategoryParams as ii, PassFailVerdict as in, TraceSearchResult as ir, BITFAB_PROGRESS_PREFIX as it, SpanOptions as j, SelectiveReplayOptions as ji, SaveAssertionsAllParams as jn, DatasetsClient as jr, BitfabLangGraphCallbackHandler as jt, SpanMethodDecorator as k, ReplayNodeIdentity as ki, GenerateScenarioOptions as kn, DatasetGraderRef as kr, BitfabLangGraphIntegration as kt, defineReplayRegistry as l, SpanLookup as li, VerdictConfidence as ln, ExperimentCategoryTally as lr, ReplayExperiment as lt, __version__ as m, DbBranchTimings as mi, VerdictUpdate as mn, ExperimentRollupResult as mr, ReplayProgress as mt, ReplayRegistration as n, Category as ni, LabelUpdate as nn, TraceSearchFilters as nr, AdaptContext as nt, ReseedRegistryResult as o, CapturedSpan as oi, TraceVerdicts as on, TraceTargetOccurrence as or, DbBranchReplayError as ot, DEFAULT_SERVICE_URL as p, flushTraces as pi, VerdictTarget as pn, ExperimentRollup as pr, ReplayOptions as pt, SpanListField as q, ScenarioHistoryEntry as qn, BitfabVercelAiHandler as qr, HumanLabelUpdate as qt, ReplayRegistry as r, CategorySummary as ri, LabelsClient as rn, TraceSearchParams as rr, AdaptInputsFn as rt, SeedCase as s, CodeChangeFile as si, Verdict as sn, TracesClient as sr, MockStrategy as st, ReplayOptionsFactory as t, CategoriesClient as ti, LabelTarget as tn, TraceAssertionsUpdate as tr, ReplayBranch as tt, reseedFromRegistry as u, SpanOccurrence as ui, VerdictOutcome as un, ExperimentCodeChangeTotals as ur, ReplayItem as ut, BitfabFunction as v, MockOverrideResolver as vi, AssertionEvidenceParameter as vn, ExperimentSummaryBeforeAfter as vr, reportReplayProgress as vt, NodeOptions as w, MixedTracingError as wi, AssertionLabelEvidence as wn, ExperimentsClient as wr, OrganizationMember as wt, CurrentTrace as x, NodeMatcher as xi, AssertionGenerationStatus as xn, ExperimentSummaryResult as xr, ReplayInterruptSignal as xt, CaptureWhen as y, MockValue as yi, AssertionGeneration as yn, ExperimentSummaryExampleTrace as yr, serializeReplayResult as yt, getCurrentSpan as z, Assignee as zi, ScenarioAction as zn, RemoveDatasetGradersResult as zr, GraderVerdictOutcome as zt };
@@ -2216,6 +2216,17 @@ type ScenarioGeneration = {
2216
2216
  /** `generating` once a build is started, or the scenario's status when it already had one. */
2217
2217
  creationStatus: ScenarioCreationStatus;
2218
2218
  };
2219
+ type GenerateScenarioOptions = {
2220
+ /**
2221
+ * Build a scenario the trace already has again. Its name, description,
2222
+ * trigger, data, and actual outcome are cleared and built over, and the
2223
+ * organization's scenario callback, when one is set up, is asked again.
2224
+ * Its categories, review status, labels, and assertions are kept. Asking
2225
+ * while it is generating starts nothing more. Defaults to false, which
2226
+ * leaves an existing scenario as it is.
2227
+ */
2228
+ regenerate?: boolean;
2229
+ };
2219
2230
  type GenerateAssertionsOptions = {
2220
2231
  guidance?: string;
2221
2232
  categoryIds?: string[];
@@ -2268,12 +2279,12 @@ declare class TracesClient {
2268
2279
  * Start building the scenario for one trace and return at once, without
2269
2280
  * waiting for it. Read it later with `getScenario` until its `creationStatus`
2270
2281
  * is `created` or `error`. A scenario whose build failed is started again. A trace that already has
2271
- * a scenario is left as it is. A replay, a trace outside the organization,
2282
+ * a scenario is left as it is unless `regenerate` is true. A replay, a trace outside the organization,
2272
2283
  * or a trace Bitfab cannot build a scenario for (not `noah-agent-turn` and
2273
2284
  * no scenario callback) is refused. Adding a trace to a dataset starts the
2274
2285
  * same build only when the organization has a scenario callback.
2275
2286
  */
2276
- generateScenario(traceId: string): Promise<ScenarioGeneration>;
2287
+ generateScenario(traceId: string, options?: GenerateScenarioOptions): Promise<ScenarioGeneration>;
2277
2288
  saveScenario({ traceId, ...edit }: SaveScenarioParams): Promise<Scenario>;
2278
2289
  }
2279
2290
  //#endregion
@@ -5308,7 +5319,7 @@ interface CommitRef {
5308
5319
  /**
5309
5320
  * SDK version from package.json (injected at build time)
5310
5321
  */
5311
- declare const __version__ = "0.74.1";
5322
+ declare const __version__ = "0.74.3";
5312
5323
  //#endregion
5313
5324
  //#region src/constants.d.ts
5314
5325
  /**
@@ -5450,4 +5461,4 @@ declare function seedFromRegistry(registry: ReplayRegistry, pipeline: string, ca
5450
5461
  run?: boolean;
5451
5462
  }): Promise<SeedResult>;
5452
5463
  //#endregion
5453
- export { RivetEffectType as $, TraceAssertionsResult as $n, AssertionCategorySummary as $r, LabelSource as $t, SpanMethodDecoratorContext as A, SelectiveReplayOptions as Ai, SaveAssertionsAllParams as An, DatasetsClient as Ar, LangGraphIntegrationOptions as At, getCurrentTrace as B, JustificationSpan as Bi, ScenarioCreationStatus as Bn, RerunGradersOptions as Br, GraderVerdictSource as Bt, NodeMethodDecorator as C, MixedTracingError as Ci, AssertionKind as Cn, ExperimentsClient as Cr, PiIntegrationOptions as Ct, SeedCaseOptions as D, SUPPORTED_PROVIDERS as Di, AssertionVerdictEvidence as Dn, Dataset as Dr, BitfabAgentMiddleware as Dt, ReseedResult as E, DbSnapshotRef as Ei, AssertionRewriteStatus as En, AddDatasetTracesResult as Er, BitfabOpenAIAgentHandler as Et, WrapOpenAIResponsesOptions as F, ApprovalFields as Fi, SaveScenarioParams as Fn, GraderRerunStatus as Fr, GraderLabelOutcome as Ft, TracingProcessor as G, ScenarioGeneration as Gn, BitfabLanguageModelMiddleware as Gr, AssertionVerdict as Gt, ActiveSpanContext as H, ScenarioDataAppend as Hn, SaveDatasetParams as Hr, GradersClient as Ht, WrapOpenRouterOptions as I, ApprovalState as Ii, SavedTraceAssertion as In, GraderRerunTimeoutError as Ir, GraderLabelSource as It, SpanListParams as J, ScenarioRecordInput as Jn, VercelGenerateResult as Jr, HumanVerdictOutcome as Jt, ListedSpan as K, ScenarioHistoryEntry as Kn, BitfabVercelAiHandler as Kr, HumanLabelOutcome as Kt, WrappedBamlFn as L, Approver as Li, Scenario as Ln, ListDatasetsParams as Lr, GraderLabelUpdate as Lt, WrapAnthropicOptions as M, AllowedEnvVars as Mi, SaveScenarioActualOutcome as Mn, GraderRerunError as Mr, GetGraderLabelsParams as Mt, WrapBAMLOptions as N, BamlExecutionResult as Ni, SaveScenarioData as Nn, GraderRerunProgress as Nr, GetGraderVerdictsParams as Nt, SeedRunOptions as O, ReplayNodeIdentity as Oi, GenerateAssertionsOptions as On, DatasetGraderRef as Or, BitfabLangGraphAgent as Ot, WrapJevOptions as P, ProviderDefinition as Pi, SaveScenarioHistoryEntry as Pn, GraderRerunResult as Pr, GraderLabel as Pt, RivetContextLike as Q, TraceAssertionSource as Qn, AssertionCategory as Qr, LabelOutcome as Qt, getCurrentReplayBranch as R, Assignee as Ri, ScenarioAction as Rn, RemoveDatasetGradersResult as Rr, GraderVerdict as Rt, DetachedTrace as S, BitfabError as Si, AssertionGenerationTimeoutError as Sn, ExperimentTotals as Sr, BitfabPiIntegration as St, ReseedOptions as T, DbSnapshotProvider as Ti, AssertionRewrite as Tn, AddDatasetGradersResult as Tr, OrganizationMembersClient as Tt, BitfabOpenAITracingProcessor as U, ScenarioDataOrigin as Un, SaveDatasetResult as Ur, ArchiveLabelTarget as Ut, CaptureSurface as V, ScenarioData as Vn, RerunGradersResult as Vr, GraderVerdictUpdate as Vt, TraceResponse as W, ScenarioDataSources as Wn, UpdateDatasetParams as Wr, ArchiveVerdictTarget as Wt, SpansClient as X, ScenarioTrigger as Xn, BitfabClaudeAgentHandler as Xr, LabelAction as Xt, SpanListResult as Y, ScenarioSource as Yn, VercelStreamResult as Yr, HumanVerdictUpdate as Yt, BitfabRivetIntegration as Z, TraceAssertion as Zn, AssertionCategoriesClient as Zr, LabelConfidence as Zt, BitfabConfig as _, MockOverrideResolver as _i, AssertionCode as _n, ExperimentSummaryBeforeAfter as _r, TraceIngestionType as _t, ReplayRegistryOptions as a, CapturedSpan as ai, TraceLabels as an, TraceTargetOccurrence as ar, DbBranchOptions as at, CurrentSpan as b, NodeMatcher as bi, AssertionGenerationError as bn, ExperimentSummaryResult as br, ReplayInterrupt as bt, SeedResult as c, SpanLookup as ci, VerdictAction as cn, ExperimentCategoryTally as cr, ReplayError as ct, seedFromRegistry as d, TokenUsage as di, VerdictSource as dn, ExperimentPage as dr, ReplayItemFinishProgress as dt, CategoriesClient as ei, LabelStatus as en, TraceAssertionsUpdate as er, RivetIntegrationOptions as et, finalizers as f, flushTraces as fi, VerdictStatus as fn, ExperimentRollup as fr, ReplayItemStartProgress as ft, Bitfab as g, MockOverrideInput as gi, ArchiveAssertionsParams as gn, ExperimentSummary as gr, ReplayResult as gt, CommitRef as h, MockOverrideCtx as hi, VerdictsClient as hn, ExperimentStatus as hr, ReplayProgressItem as ht, ReplayRegistryContext as i, SaveCategoryParams as ii, PassFailVerdict as in, TraceTarget as ir, BITFAB_PROGRESS_PREFIX as it, SpanOptions as j, SelectiveReplayReport as ji, SaveAssertionsParams as jn, GraderRerun as jr, BitfabLangGraphCallbackHandler as jt, SpanMethodDecorator as k, SelectiveReplayDecision as ki, SaveAssertion as kn, DatasetTraceIds as kr, BitfabLangGraphIntegration as kt, defineReplayRegistry as l, SpanOccurrence as li, VerdictConfidence as ln, ExperimentCodeChangeTotals as lr, ReplayExperiment as lt, __version__ as m, MockOverride as mi, VerdictUpdate as mn, ExperimentRunBy as mr, ReplayProgress as mt, ReplayRegistration as n, CategorySummary as ni, LabelUpdate as nn, TraceSearchParams as nr, AdaptContext as nt, ReseedRegistryResult as o, CodeChangeFile as oi, TraceVerdicts as on, TracesClient as or, DbBranchReplayError as ot, DEFAULT_SERVICE_URL as p, DbBranchTimings as pi, VerdictTarget as pn, ExperimentRollupResult as pr, ReplayOptions as pt, SpanListField as q, ScenarioRecord as qn, VercelCallParams as qr, HumanLabelUpdate as qt, ReplayRegistry as r, SaveAssertionCategoryParams as ri, LabelsClient as rn, TraceSearchResult as rr, AdaptInputsFn as rt, SeedCase as s, HttpClient as si, Verdict as sn, Experiment as sr, MockStrategy as st, ReplayOptionsFactory as t, Category as ti, LabelTarget as tn, TraceSearchFilters as tr, ReplayBranch as tt, reseedFromRegistry as u, SpanType as ui, VerdictOutcome as un, ExperimentJitter as ur, ReplayItem as ut, BitfabFunction as v, MockValue as vi, AssertionEvidenceParameter as vn, ExperimentSummaryExampleTrace as vr, reportReplayProgress as vt, NodeOptions as w, DbSnapshotConfig as wi, AssertionLabelEvidence as wn, ListExperimentsParams as wr, OrganizationMember as wt, CurrentTrace as x, SpanNodeMeta as xi, AssertionGenerationStatus as xn, ExperimentTally as xr, ReplayInterruptSignal as xt, CaptureWhen as y, NO_MOCK_OVERRIDE as yi, AssertionGeneration as yn, ExperimentSummaryFacts as yr, serializeReplayResult as yt, getCurrentSpan as z, Justification as zi, ScenarioActualOutcome as zn, RemoveDatasetTracesResult as zr, GraderVerdictOutcome as zt };
5464
+ export { RivetEffectType as $, TraceAssertionSource as $n, AssertionCategory as $r, LabelSource as $t, SpanMethodDecoratorContext as A, SelectiveReplayDecision as Ai, SaveAssertion as An, DatasetTraceIds as Ar, LangGraphIntegrationOptions as At, getCurrentTrace as B, Justification as Bi, ScenarioActualOutcome as Bn, RemoveDatasetTracesResult as Br, GraderVerdictSource as Bt, NodeMethodDecorator as C, BitfabError as Ci, AssertionKind as Cn, ExperimentTotals as Cr, PiIntegrationOptions as Ct, SeedCaseOptions as D, DbSnapshotRef as Di, AssertionVerdictEvidence as Dn, AddDatasetTracesResult as Dr, BitfabAgentMiddleware as Dt, ReseedResult as E, DbSnapshotProvider as Ei, AssertionRewriteStatus as En, AddDatasetGradersResult as Er, BitfabOpenAIAgentHandler as Et, WrapOpenAIResponsesOptions as F, ProviderDefinition as Fi, SaveScenarioHistoryEntry as Fn, GraderRerunResult as Fr, GraderLabelOutcome as Ft, TracingProcessor as G, ScenarioDataSources as Gn, UpdateDatasetParams as Gr, AssertionVerdict as Gt, ActiveSpanContext as H, ScenarioData as Hn, RerunGradersResult as Hr, GradersClient as Ht, WrapOpenRouterOptions as I, ApprovalFields as Ii, SaveScenarioParams as In, GraderRerunStatus as Ir, GraderLabelSource as It, SpanListParams as J, ScenarioRecord as Jn, VercelCallParams as Jr, HumanVerdictOutcome as Jt, ListedSpan as K, ScenarioGeneration as Kn, BitfabLanguageModelMiddleware as Kr, HumanLabelOutcome as Kt, WrappedBamlFn as L, ApprovalState as Li, SavedTraceAssertion as Ln, GraderRerunTimeoutError as Lr, GraderLabelUpdate as Lt, WrapAnthropicOptions as M, SelectiveReplayReport as Mi, SaveAssertionsParams as Mn, GraderRerun as Mr, GetGraderLabelsParams as Mt, WrapBAMLOptions as N, AllowedEnvVars as Ni, SaveScenarioActualOutcome as Nn, GraderRerunError as Nr, GetGraderVerdictsParams as Nt, SeedRunOptions as O, SUPPORTED_PROVIDERS as Oi, GenerateAssertionsOptions as On, Dataset as Or, BitfabLangGraphAgent as Ot, WrapJevOptions as P, BamlExecutionResult as Pi, SaveScenarioData as Pn, GraderRerunProgress as Pr, GraderLabel as Pt, RivetContextLike as Q, TraceAssertion as Qn, AssertionCategoriesClient as Qr, LabelOutcome as Qt, getCurrentReplayBranch as R, Approver as Ri, Scenario as Rn, ListDatasetsParams as Rr, GraderVerdict as Rt, DetachedTrace as S, SpanNodeMeta as Si, AssertionGenerationTimeoutError as Sn, ExperimentTally as Sr, BitfabPiIntegration as St, ReseedOptions as T, DbSnapshotConfig as Ti, AssertionRewrite as Tn, ListExperimentsParams as Tr, OrganizationMembersClient as Tt, BitfabOpenAITracingProcessor as U, ScenarioDataAppend as Un, SaveDatasetParams as Ur, ArchiveLabelTarget as Ut, CaptureSurface as V, JustificationSpan as Vi, ScenarioCreationStatus as Vn, RerunGradersOptions as Vr, GraderVerdictUpdate as Vt, TraceResponse as W, ScenarioDataOrigin as Wn, SaveDatasetResult as Wr, ArchiveVerdictTarget as Wt, SpansClient as X, ScenarioSource as Xn, VercelStreamResult as Xr, LabelAction as Xt, SpanListResult as Y, ScenarioRecordInput as Yn, VercelGenerateResult as Yr, HumanVerdictUpdate as Yt, BitfabRivetIntegration as Z, ScenarioTrigger as Zn, BitfabClaudeAgentHandler as Zr, LabelConfidence as Zt, BitfabConfig as _, MockOverrideInput as _i, AssertionCode as _n, ExperimentSummary as _r, TraceIngestionType as _t, ReplayRegistryOptions as a, SaveCategoryParams as ai, TraceLabels as an, TraceTarget as ar, DbBranchOptions as at, CurrentSpan as b, NO_MOCK_OVERRIDE as bi, AssertionGenerationError as bn, ExperimentSummaryFacts as br, ReplayInterrupt as bt, SeedResult as c, HttpClient as ci, VerdictAction as cn, Experiment as cr, ReplayError as ct, seedFromRegistry as d, SpanType as di, VerdictSource as dn, ExperimentJitter as dr, ReplayItemFinishProgress as dt, AssertionCategorySummary as ei, LabelStatus as en, TraceAssertionsResult as er, RivetIntegrationOptions as et, finalizers as f, TokenUsage as fi, VerdictStatus as fn, ExperimentPage as fr, ReplayItemStartProgress as ft, Bitfab as g, MockOverrideCtx as gi, ArchiveAssertionsParams as gn, ExperimentStatus as gr, ReplayResult as gt, CommitRef as h, MockOverride as hi, VerdictsClient as hn, ExperimentRunBy as hr, ReplayProgressItem as ht, ReplayRegistryContext as i, SaveAssertionCategoryParams as ii, PassFailVerdict as in, TraceSearchResult as ir, BITFAB_PROGRESS_PREFIX as it, SpanOptions as j, SelectiveReplayOptions as ji, SaveAssertionsAllParams as jn, DatasetsClient as jr, BitfabLangGraphCallbackHandler as jt, SpanMethodDecorator as k, ReplayNodeIdentity as ki, GenerateScenarioOptions as kn, DatasetGraderRef as kr, BitfabLangGraphIntegration as kt, defineReplayRegistry as l, SpanLookup as li, VerdictConfidence as ln, ExperimentCategoryTally as lr, ReplayExperiment as lt, __version__ as m, DbBranchTimings as mi, VerdictUpdate as mn, ExperimentRollupResult as mr, ReplayProgress as mt, ReplayRegistration as n, Category as ni, LabelUpdate as nn, TraceSearchFilters as nr, AdaptContext as nt, ReseedRegistryResult as o, CapturedSpan as oi, TraceVerdicts as on, TraceTargetOccurrence as or, DbBranchReplayError as ot, DEFAULT_SERVICE_URL as p, flushTraces as pi, VerdictTarget as pn, ExperimentRollup as pr, ReplayOptions as pt, SpanListField as q, ScenarioHistoryEntry as qn, BitfabVercelAiHandler as qr, HumanLabelUpdate as qt, ReplayRegistry as r, CategorySummary as ri, LabelsClient as rn, TraceSearchParams as rr, AdaptInputsFn as rt, SeedCase as s, CodeChangeFile as si, Verdict as sn, TracesClient as sr, MockStrategy as st, ReplayOptionsFactory as t, CategoriesClient as ti, LabelTarget as tn, TraceAssertionsUpdate as tr, ReplayBranch as tt, reseedFromRegistry as u, SpanOccurrence as ui, VerdictOutcome as un, ExperimentCodeChangeTotals as ur, ReplayItem as ut, BitfabFunction as v, MockOverrideResolver as vi, AssertionEvidenceParameter as vn, ExperimentSummaryBeforeAfter as vr, reportReplayProgress as vt, NodeOptions as w, MixedTracingError as wi, AssertionLabelEvidence as wn, ExperimentsClient as wr, OrganizationMember as wt, CurrentTrace as x, NodeMatcher as xi, AssertionGenerationStatus as xn, ExperimentSummaryResult as xr, ReplayInterruptSignal as xt, CaptureWhen as y, MockValue as yi, AssertionGeneration as yn, ExperimentSummaryExampleTrace as yr, serializeReplayResult as yt, getCurrentSpan as z, Assignee as zi, ScenarioAction as zn, RemoveDatasetGradersResult as zr, GraderVerdictOutcome as zt };
package/dist/index.cjs CHANGED
@@ -2,8 +2,8 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_src = require("./src-DVJRiYEl.cjs");
6
- const require_http = require("./http-k6ROO7LA.cjs");
5
+ const require_src = require("./src-KAtu1Cmn.cjs");
6
+ const require_http = require("./http-BHgwaBjv.cjs");
7
7
  exports.AssertionCategoriesClient = require_src.AssertionCategoriesClient;
8
8
  exports.AssertionGenerationError = require_src.AssertionGenerationError;
9
9
  exports.AssertionGenerationTimeoutError = require_src.AssertionGenerationTimeoutError;
package/dist/index.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as RivetEffectType, $n as TraceAssertionsResult, $r as AssertionCategorySummary, $t as LabelSource, A as SpanMethodDecoratorContext, Ai as SelectiveReplayOptions, An as SaveAssertionsAllParams, Ar as DatasetsClient, At as LangGraphIntegrationOptions, B as getCurrentTrace, Bi as JustificationSpan, Bn as ScenarioCreationStatus, Br as RerunGradersOptions, Bt as GraderVerdictSource, C as NodeMethodDecorator, Ci as MixedTracingError, Cn as AssertionKind, Cr as ExperimentsClient, Ct as PiIntegrationOptions, D as SeedCaseOptions, Di as SUPPORTED_PROVIDERS, Dn as AssertionVerdictEvidence, Dr as Dataset, Dt as BitfabAgentMiddleware, E as ReseedResult, Ei as DbSnapshotRef, En as AssertionRewriteStatus, Er as AddDatasetTracesResult, Et as BitfabOpenAIAgentHandler, F as WrapOpenAIResponsesOptions, Fi as ApprovalFields, Fn as SaveScenarioParams, Fr as GraderRerunStatus, Ft as GraderLabelOutcome, G as TracingProcessor, Gn as ScenarioGeneration, Gr as BitfabLanguageModelMiddleware, Gt as AssertionVerdict, H as ActiveSpanContext, Hn as ScenarioDataAppend, Hr as SaveDatasetParams, Ht as GradersClient, I as WrapOpenRouterOptions, Ii as ApprovalState, In as SavedTraceAssertion, Ir as GraderRerunTimeoutError, It as GraderLabelSource, J as SpanListParams, Jn as ScenarioRecordInput, Jr as VercelGenerateResult, Jt as HumanVerdictOutcome, K as ListedSpan, Kn as ScenarioHistoryEntry, Kr as BitfabVercelAiHandler, Kt as HumanLabelOutcome, L as WrappedBamlFn, Li as Approver, Ln as Scenario, Lr as ListDatasetsParams, Lt as GraderLabelUpdate, M as WrapAnthropicOptions, Mi as AllowedEnvVars, Mn as SaveScenarioActualOutcome, Mr as GraderRerunError, Mt as GetGraderLabelsParams, N as WrapBAMLOptions, Ni as BamlExecutionResult, Nn as SaveScenarioData, Nr as GraderRerunProgress, Nt as GetGraderVerdictsParams, O as SeedRunOptions, Oi as ReplayNodeIdentity, On as GenerateAssertionsOptions, Or as DatasetGraderRef, Ot as BitfabLangGraphAgent, P as WrapJevOptions, Pi as ProviderDefinition, Pn as SaveScenarioHistoryEntry, Pr as GraderRerunResult, Pt as GraderLabel, Q as RivetContextLike, Qn as TraceAssertionSource, Qr as AssertionCategory, Qt as LabelOutcome, R as getCurrentReplayBranch, Ri as Assignee, Rn as ScenarioAction, Rr as RemoveDatasetGradersResult, Rt as GraderVerdict, S as DetachedTrace, Si as BitfabError, Sn as AssertionGenerationTimeoutError, Sr as ExperimentTotals, St as BitfabPiIntegration, T as ReseedOptions, Ti as DbSnapshotProvider, Tn as AssertionRewrite, Tr as AddDatasetGradersResult, Tt as OrganizationMembersClient, U as BitfabOpenAITracingProcessor, Un as ScenarioDataOrigin, Ur as SaveDatasetResult, Ut as ArchiveLabelTarget, V as CaptureSurface, Vn as ScenarioData, Vr as RerunGradersResult, Vt as GraderVerdictUpdate, W as TraceResponse, Wn as ScenarioDataSources, Wr as UpdateDatasetParams, Wt as ArchiveVerdictTarget, X as SpansClient, Xn as ScenarioTrigger, Xr as BitfabClaudeAgentHandler, Xt as LabelAction, Y as SpanListResult, Yn as ScenarioSource, Yr as VercelStreamResult, Yt as HumanVerdictUpdate, Z as BitfabRivetIntegration, Zn as TraceAssertion, Zr as AssertionCategoriesClient, Zt as LabelConfidence, _ as BitfabConfig, _i as MockOverrideResolver, _n as AssertionCode, _r as ExperimentSummaryBeforeAfter, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as CapturedSpan, an as TraceLabels, ar as TraceTargetOccurrence, at as DbBranchOptions, b as CurrentSpan, bi as NodeMatcher, bn as AssertionGenerationError, br as ExperimentSummaryResult, bt as ReplayInterrupt, c as SeedResult, ci as SpanLookup, cn as VerdictAction, cr as ExperimentCategoryTally, ct as ReplayError, d as seedFromRegistry, di as TokenUsage, dn as VerdictSource, dr as ExperimentPage, dt as ReplayItemFinishProgress, ei as CategoriesClient, en as LabelStatus, er as TraceAssertionsUpdate, et as RivetIntegrationOptions, f as finalizers, fi as flushTraces, fn as VerdictStatus, fr as ExperimentRollup, ft as ReplayItemStartProgress, g as Bitfab, gi as MockOverrideInput, gn as ArchiveAssertionsParams, gr as ExperimentSummary, gt as ReplayResult, h as CommitRef, hi as MockOverrideCtx, hn as VerdictsClient, hr as ExperimentStatus, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as SaveCategoryParams, in as PassFailVerdict, ir as TraceTarget, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, ji as SelectiveReplayReport, jn as SaveAssertionsParams, jr as GraderRerun, jt as BitfabLangGraphCallbackHandler, k as SpanMethodDecorator, ki as SelectiveReplayDecision, kn as SaveAssertion, kr as DatasetTraceIds, kt as BitfabLangGraphIntegration, l as defineReplayRegistry, li as SpanOccurrence, ln as VerdictConfidence, lr as ExperimentCodeChangeTotals, lt as ReplayExperiment, m as __version__, mi as MockOverride, mn as VerdictUpdate, mr as ExperimentRunBy, mt as ReplayProgress, n as ReplayRegistration, ni as CategorySummary, nn as LabelUpdate, nr as TraceSearchParams, nt as AdaptContext, o as ReseedRegistryResult, oi as CodeChangeFile, on as TraceVerdicts, or as TracesClient, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as DbBranchTimings, pn as VerdictTarget, pr as ExperimentRollupResult, pt as ReplayOptions, q as SpanListField, qn as ScenarioRecord, qr as VercelCallParams, qt as HumanLabelUpdate, r as ReplayRegistry, ri as SaveAssertionCategoryParams, rn as LabelsClient, rr as TraceSearchResult, rt as AdaptInputsFn, s as SeedCase, si as HttpClient, sn as Verdict, sr as Experiment, st as MockStrategy, t as ReplayOptionsFactory, ti as Category, tn as LabelTarget, tr as TraceSearchFilters, tt as ReplayBranch, u as reseedFromRegistry, ui as SpanType, un as VerdictOutcome, ur as ExperimentJitter, ut as ReplayItem, v as BitfabFunction, vi as MockValue, vn as AssertionEvidenceParameter, vr as ExperimentSummaryExampleTrace, vt as reportReplayProgress, w as NodeOptions, wi as DbSnapshotConfig, wn as AssertionLabelEvidence, wr as ListExperimentsParams, wt as OrganizationMember, x as CurrentTrace, xi as SpanNodeMeta, xn as AssertionGenerationStatus, xr as ExperimentTally, xt as ReplayInterruptSignal, y as CaptureWhen, yi as NO_MOCK_OVERRIDE, yn as AssertionGeneration, yr as ExperimentSummaryFacts, yt as serializeReplayResult, z as getCurrentSpan, zi as Justification, zn as ScenarioActualOutcome, zr as RemoveDatasetTracesResult, zt as GraderVerdictOutcome } from "./index-BmPTyjQO.cjs";
2
- export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionCode, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionKind, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type PiIntegrationOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioCreationStatus, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
1
+ import { $ as RivetEffectType, $n as TraceAssertionSource, $r as AssertionCategory, $t as LabelSource, A as SpanMethodDecoratorContext, Ai as SelectiveReplayDecision, An as SaveAssertion, Ar as DatasetTraceIds, At as LangGraphIntegrationOptions, B as getCurrentTrace, Bi as Justification, Bn as ScenarioActualOutcome, Br as RemoveDatasetTracesResult, Bt as GraderVerdictSource, C as NodeMethodDecorator, Ci as BitfabError, Cn as AssertionKind, Cr as ExperimentTotals, Ct as PiIntegrationOptions, D as SeedCaseOptions, Di as DbSnapshotRef, Dn as AssertionVerdictEvidence, Dr as AddDatasetTracesResult, Dt as BitfabAgentMiddleware, E as ReseedResult, Ei as DbSnapshotProvider, En as AssertionRewriteStatus, Er as AddDatasetGradersResult, Et as BitfabOpenAIAgentHandler, F as WrapOpenAIResponsesOptions, Fi as ProviderDefinition, Fn as SaveScenarioHistoryEntry, Fr as GraderRerunResult, Ft as GraderLabelOutcome, G as TracingProcessor, Gn as ScenarioDataSources, Gr as UpdateDatasetParams, Gt as AssertionVerdict, H as ActiveSpanContext, Hn as ScenarioData, Hr as RerunGradersResult, Ht as GradersClient, I as WrapOpenRouterOptions, Ii as ApprovalFields, In as SaveScenarioParams, Ir as GraderRerunStatus, It as GraderLabelSource, J as SpanListParams, Jn as ScenarioRecord, Jr as VercelCallParams, Jt as HumanVerdictOutcome, K as ListedSpan, Kn as ScenarioGeneration, Kr as BitfabLanguageModelMiddleware, Kt as HumanLabelOutcome, L as WrappedBamlFn, Li as ApprovalState, Ln as SavedTraceAssertion, Lr as GraderRerunTimeoutError, Lt as GraderLabelUpdate, M as WrapAnthropicOptions, Mi as SelectiveReplayReport, Mn as SaveAssertionsParams, Mr as GraderRerun, Mt as GetGraderLabelsParams, N as WrapBAMLOptions, Ni as AllowedEnvVars, Nn as SaveScenarioActualOutcome, Nr as GraderRerunError, Nt as GetGraderVerdictsParams, O as SeedRunOptions, Oi as SUPPORTED_PROVIDERS, On as GenerateAssertionsOptions, Or as Dataset, Ot as BitfabLangGraphAgent, P as WrapJevOptions, Pi as BamlExecutionResult, Pn as SaveScenarioData, Pr as GraderRerunProgress, Pt as GraderLabel, Q as RivetContextLike, Qn as TraceAssertion, Qr as AssertionCategoriesClient, Qt as LabelOutcome, R as getCurrentReplayBranch, Ri as Approver, Rn as Scenario, Rr as ListDatasetsParams, Rt as GraderVerdict, S as DetachedTrace, Si as SpanNodeMeta, Sn as AssertionGenerationTimeoutError, Sr as ExperimentTally, St as BitfabPiIntegration, T as ReseedOptions, Ti as DbSnapshotConfig, Tn as AssertionRewrite, Tr as ListExperimentsParams, Tt as OrganizationMembersClient, U as BitfabOpenAITracingProcessor, Un as ScenarioDataAppend, Ur as SaveDatasetParams, Ut as ArchiveLabelTarget, V as CaptureSurface, Vi as JustificationSpan, Vn as ScenarioCreationStatus, Vr as RerunGradersOptions, Vt as GraderVerdictUpdate, W as TraceResponse, Wn as ScenarioDataOrigin, Wr as SaveDatasetResult, Wt as ArchiveVerdictTarget, X as SpansClient, Xn as ScenarioSource, Xr as VercelStreamResult, Xt as LabelAction, Y as SpanListResult, Yn as ScenarioRecordInput, Yr as VercelGenerateResult, Yt as HumanVerdictUpdate, Z as BitfabRivetIntegration, Zn as ScenarioTrigger, Zr as BitfabClaudeAgentHandler, Zt as LabelConfidence, _ as BitfabConfig, _i as MockOverrideInput, _n as AssertionCode, _r as ExperimentSummary, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as SaveCategoryParams, an as TraceLabels, ar as TraceTarget, at as DbBranchOptions, b as CurrentSpan, bi as NO_MOCK_OVERRIDE, bn as AssertionGenerationError, br as ExperimentSummaryFacts, bt as ReplayInterrupt, c as SeedResult, ci as HttpClient, cn as VerdictAction, cr as Experiment, ct as ReplayError, d as seedFromRegistry, di as SpanType, dn as VerdictSource, dr as ExperimentJitter, dt as ReplayItemFinishProgress, ei as AssertionCategorySummary, en as LabelStatus, er as TraceAssertionsResult, et as RivetIntegrationOptions, f as finalizers, fi as TokenUsage, fn as VerdictStatus, fr as ExperimentPage, ft as ReplayItemStartProgress, g as Bitfab, gi as MockOverrideCtx, gn as ArchiveAssertionsParams, gr as ExperimentStatus, gt as ReplayResult, h as CommitRef, hi as MockOverride, hn as VerdictsClient, hr as ExperimentRunBy, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as SaveAssertionCategoryParams, in as PassFailVerdict, ir as TraceSearchResult, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, ji as SelectiveReplayOptions, jn as SaveAssertionsAllParams, jr as DatasetsClient, jt as BitfabLangGraphCallbackHandler, k as SpanMethodDecorator, ki as ReplayNodeIdentity, kn as GenerateScenarioOptions, kr as DatasetGraderRef, kt as BitfabLangGraphIntegration, l as defineReplayRegistry, li as SpanLookup, ln as VerdictConfidence, lr as ExperimentCategoryTally, lt as ReplayExperiment, m as __version__, mi as DbBranchTimings, mn as VerdictUpdate, mr as ExperimentRollupResult, mt as ReplayProgress, n as ReplayRegistration, ni as Category, nn as LabelUpdate, nr as TraceSearchFilters, nt as AdaptContext, o as ReseedRegistryResult, oi as CapturedSpan, on as TraceVerdicts, or as TraceTargetOccurrence, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as flushTraces, pn as VerdictTarget, pr as ExperimentRollup, pt as ReplayOptions, q as SpanListField, qn as ScenarioHistoryEntry, qr as BitfabVercelAiHandler, qt as HumanLabelUpdate, r as ReplayRegistry, ri as CategorySummary, rn as LabelsClient, rr as TraceSearchParams, rt as AdaptInputsFn, s as SeedCase, si as CodeChangeFile, sn as Verdict, sr as TracesClient, st as MockStrategy, t as ReplayOptionsFactory, ti as CategoriesClient, tn as LabelTarget, tr as TraceAssertionsUpdate, tt as ReplayBranch, u as reseedFromRegistry, ui as SpanOccurrence, un as VerdictOutcome, ur as ExperimentCodeChangeTotals, ut as ReplayItem, v as BitfabFunction, vi as MockOverrideResolver, vn as AssertionEvidenceParameter, vr as ExperimentSummaryBeforeAfter, vt as reportReplayProgress, w as NodeOptions, wi as MixedTracingError, wn as AssertionLabelEvidence, wr as ExperimentsClient, wt as OrganizationMember, x as CurrentTrace, xi as NodeMatcher, xn as AssertionGenerationStatus, xr as ExperimentSummaryResult, xt as ReplayInterruptSignal, y as CaptureWhen, yi as MockValue, yn as AssertionGeneration, yr as ExperimentSummaryExampleTrace, yt as serializeReplayResult, z as getCurrentSpan, zi as Assignee, zn as ScenarioAction, zr as RemoveDatasetGradersResult, zt as GraderVerdictOutcome } from "./index-eZPhpygX.cjs";
2
+ export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionCode, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionKind, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GenerateScenarioOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type PiIntegrationOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioCreationStatus, 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 TraceAssertionsResult, $r as AssertionCategorySummary, $t as LabelSource, A as SpanMethodDecoratorContext, Ai as SelectiveReplayOptions, An as SaveAssertionsAllParams, Ar as DatasetsClient, At as LangGraphIntegrationOptions, B as getCurrentTrace, Bi as JustificationSpan, Bn as ScenarioCreationStatus, Br as RerunGradersOptions, Bt as GraderVerdictSource, C as NodeMethodDecorator, Ci as MixedTracingError, Cn as AssertionKind, Cr as ExperimentsClient, Ct as PiIntegrationOptions, D as SeedCaseOptions, Di as SUPPORTED_PROVIDERS, Dn as AssertionVerdictEvidence, Dr as Dataset, Dt as BitfabAgentMiddleware, E as ReseedResult, Ei as DbSnapshotRef, En as AssertionRewriteStatus, Er as AddDatasetTracesResult, Et as BitfabOpenAIAgentHandler, F as WrapOpenAIResponsesOptions, Fi as ApprovalFields, Fn as SaveScenarioParams, Fr as GraderRerunStatus, Ft as GraderLabelOutcome, G as TracingProcessor, Gn as ScenarioGeneration, Gr as BitfabLanguageModelMiddleware, Gt as AssertionVerdict, H as ActiveSpanContext, Hn as ScenarioDataAppend, Hr as SaveDatasetParams, Ht as GradersClient, I as WrapOpenRouterOptions, Ii as ApprovalState, In as SavedTraceAssertion, Ir as GraderRerunTimeoutError, It as GraderLabelSource, J as SpanListParams, Jn as ScenarioRecordInput, Jr as VercelGenerateResult, Jt as HumanVerdictOutcome, K as ListedSpan, Kn as ScenarioHistoryEntry, Kr as BitfabVercelAiHandler, Kt as HumanLabelOutcome, L as WrappedBamlFn, Li as Approver, Ln as Scenario, Lr as ListDatasetsParams, Lt as GraderLabelUpdate, M as WrapAnthropicOptions, Mi as AllowedEnvVars, Mn as SaveScenarioActualOutcome, Mr as GraderRerunError, Mt as GetGraderLabelsParams, N as WrapBAMLOptions, Ni as BamlExecutionResult, Nn as SaveScenarioData, Nr as GraderRerunProgress, Nt as GetGraderVerdictsParams, O as SeedRunOptions, Oi as ReplayNodeIdentity, On as GenerateAssertionsOptions, Or as DatasetGraderRef, Ot as BitfabLangGraphAgent, P as WrapJevOptions, Pi as ProviderDefinition, Pn as SaveScenarioHistoryEntry, Pr as GraderRerunResult, Pt as GraderLabel, Q as RivetContextLike, Qn as TraceAssertionSource, Qr as AssertionCategory, Qt as LabelOutcome, R as getCurrentReplayBranch, Ri as Assignee, Rn as ScenarioAction, Rr as RemoveDatasetGradersResult, Rt as GraderVerdict, S as DetachedTrace, Si as BitfabError, Sn as AssertionGenerationTimeoutError, Sr as ExperimentTotals, St as BitfabPiIntegration, T as ReseedOptions, Ti as DbSnapshotProvider, Tn as AssertionRewrite, Tr as AddDatasetGradersResult, Tt as OrganizationMembersClient, U as BitfabOpenAITracingProcessor, Un as ScenarioDataOrigin, Ur as SaveDatasetResult, Ut as ArchiveLabelTarget, V as CaptureSurface, Vn as ScenarioData, Vr as RerunGradersResult, Vt as GraderVerdictUpdate, W as TraceResponse, Wn as ScenarioDataSources, Wr as UpdateDatasetParams, Wt as ArchiveVerdictTarget, X as SpansClient, Xn as ScenarioTrigger, Xr as BitfabClaudeAgentHandler, Xt as LabelAction, Y as SpanListResult, Yn as ScenarioSource, Yr as VercelStreamResult, Yt as HumanVerdictUpdate, Z as BitfabRivetIntegration, Zn as TraceAssertion, Zr as AssertionCategoriesClient, Zt as LabelConfidence, _ as BitfabConfig, _i as MockOverrideResolver, _n as AssertionCode, _r as ExperimentSummaryBeforeAfter, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as CapturedSpan, an as TraceLabels, ar as TraceTargetOccurrence, at as DbBranchOptions, b as CurrentSpan, bi as NodeMatcher, bn as AssertionGenerationError, br as ExperimentSummaryResult, bt as ReplayInterrupt, c as SeedResult, ci as SpanLookup, cn as VerdictAction, cr as ExperimentCategoryTally, ct as ReplayError, d as seedFromRegistry, di as TokenUsage, dn as VerdictSource, dr as ExperimentPage, dt as ReplayItemFinishProgress, ei as CategoriesClient, en as LabelStatus, er as TraceAssertionsUpdate, et as RivetIntegrationOptions, f as finalizers, fi as flushTraces, fn as VerdictStatus, fr as ExperimentRollup, ft as ReplayItemStartProgress, g as Bitfab, gi as MockOverrideInput, gn as ArchiveAssertionsParams, gr as ExperimentSummary, gt as ReplayResult, h as CommitRef, hi as MockOverrideCtx, hn as VerdictsClient, hr as ExperimentStatus, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as SaveCategoryParams, in as PassFailVerdict, ir as TraceTarget, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, ji as SelectiveReplayReport, jn as SaveAssertionsParams, jr as GraderRerun, jt as BitfabLangGraphCallbackHandler, k as SpanMethodDecorator, ki as SelectiveReplayDecision, kn as SaveAssertion, kr as DatasetTraceIds, kt as BitfabLangGraphIntegration, l as defineReplayRegistry, li as SpanOccurrence, ln as VerdictConfidence, lr as ExperimentCodeChangeTotals, lt as ReplayExperiment, m as __version__, mi as MockOverride, mn as VerdictUpdate, mr as ExperimentRunBy, mt as ReplayProgress, n as ReplayRegistration, ni as CategorySummary, nn as LabelUpdate, nr as TraceSearchParams, nt as AdaptContext, o as ReseedRegistryResult, oi as CodeChangeFile, on as TraceVerdicts, or as TracesClient, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as DbBranchTimings, pn as VerdictTarget, pr as ExperimentRollupResult, pt as ReplayOptions, q as SpanListField, qn as ScenarioRecord, qr as VercelCallParams, qt as HumanLabelUpdate, r as ReplayRegistry, ri as SaveAssertionCategoryParams, rn as LabelsClient, rr as TraceSearchResult, rt as AdaptInputsFn, s as SeedCase, si as HttpClient, sn as Verdict, sr as Experiment, st as MockStrategy, t as ReplayOptionsFactory, ti as Category, tn as LabelTarget, tr as TraceSearchFilters, tt as ReplayBranch, u as reseedFromRegistry, ui as SpanType, un as VerdictOutcome, ur as ExperimentJitter, ut as ReplayItem, v as BitfabFunction, vi as MockValue, vn as AssertionEvidenceParameter, vr as ExperimentSummaryExampleTrace, vt as reportReplayProgress, w as NodeOptions, wi as DbSnapshotConfig, wn as AssertionLabelEvidence, wr as ListExperimentsParams, wt as OrganizationMember, x as CurrentTrace, xi as SpanNodeMeta, xn as AssertionGenerationStatus, xr as ExperimentTally, xt as ReplayInterruptSignal, y as CaptureWhen, yi as NO_MOCK_OVERRIDE, yn as AssertionGeneration, yr as ExperimentSummaryFacts, yt as serializeReplayResult, z as getCurrentSpan, zi as Justification, zn as ScenarioActualOutcome, zr as RemoveDatasetTracesResult, zt as GraderVerdictOutcome } from "./index-BmPTyjQO.js";
2
- export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionCode, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionKind, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type PiIntegrationOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioCreationStatus, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
1
+ import { $ as RivetEffectType, $n as TraceAssertionSource, $r as AssertionCategory, $t as LabelSource, A as SpanMethodDecoratorContext, Ai as SelectiveReplayDecision, An as SaveAssertion, Ar as DatasetTraceIds, At as LangGraphIntegrationOptions, B as getCurrentTrace, Bi as Justification, Bn as ScenarioActualOutcome, Br as RemoveDatasetTracesResult, Bt as GraderVerdictSource, C as NodeMethodDecorator, Ci as BitfabError, Cn as AssertionKind, Cr as ExperimentTotals, Ct as PiIntegrationOptions, D as SeedCaseOptions, Di as DbSnapshotRef, Dn as AssertionVerdictEvidence, Dr as AddDatasetTracesResult, Dt as BitfabAgentMiddleware, E as ReseedResult, Ei as DbSnapshotProvider, En as AssertionRewriteStatus, Er as AddDatasetGradersResult, Et as BitfabOpenAIAgentHandler, F as WrapOpenAIResponsesOptions, Fi as ProviderDefinition, Fn as SaveScenarioHistoryEntry, Fr as GraderRerunResult, Ft as GraderLabelOutcome, G as TracingProcessor, Gn as ScenarioDataSources, Gr as UpdateDatasetParams, Gt as AssertionVerdict, H as ActiveSpanContext, Hn as ScenarioData, Hr as RerunGradersResult, Ht as GradersClient, I as WrapOpenRouterOptions, Ii as ApprovalFields, In as SaveScenarioParams, Ir as GraderRerunStatus, It as GraderLabelSource, J as SpanListParams, Jn as ScenarioRecord, Jr as VercelCallParams, Jt as HumanVerdictOutcome, K as ListedSpan, Kn as ScenarioGeneration, Kr as BitfabLanguageModelMiddleware, Kt as HumanLabelOutcome, L as WrappedBamlFn, Li as ApprovalState, Ln as SavedTraceAssertion, Lr as GraderRerunTimeoutError, Lt as GraderLabelUpdate, M as WrapAnthropicOptions, Mi as SelectiveReplayReport, Mn as SaveAssertionsParams, Mr as GraderRerun, Mt as GetGraderLabelsParams, N as WrapBAMLOptions, Ni as AllowedEnvVars, Nn as SaveScenarioActualOutcome, Nr as GraderRerunError, Nt as GetGraderVerdictsParams, O as SeedRunOptions, Oi as SUPPORTED_PROVIDERS, On as GenerateAssertionsOptions, Or as Dataset, Ot as BitfabLangGraphAgent, P as WrapJevOptions, Pi as BamlExecutionResult, Pn as SaveScenarioData, Pr as GraderRerunProgress, Pt as GraderLabel, Q as RivetContextLike, Qn as TraceAssertion, Qr as AssertionCategoriesClient, Qt as LabelOutcome, R as getCurrentReplayBranch, Ri as Approver, Rn as Scenario, Rr as ListDatasetsParams, Rt as GraderVerdict, S as DetachedTrace, Si as SpanNodeMeta, Sn as AssertionGenerationTimeoutError, Sr as ExperimentTally, St as BitfabPiIntegration, T as ReseedOptions, Ti as DbSnapshotConfig, Tn as AssertionRewrite, Tr as ListExperimentsParams, Tt as OrganizationMembersClient, U as BitfabOpenAITracingProcessor, Un as ScenarioDataAppend, Ur as SaveDatasetParams, Ut as ArchiveLabelTarget, V as CaptureSurface, Vi as JustificationSpan, Vn as ScenarioCreationStatus, Vr as RerunGradersOptions, Vt as GraderVerdictUpdate, W as TraceResponse, Wn as ScenarioDataOrigin, Wr as SaveDatasetResult, Wt as ArchiveVerdictTarget, X as SpansClient, Xn as ScenarioSource, Xr as VercelStreamResult, Xt as LabelAction, Y as SpanListResult, Yn as ScenarioRecordInput, Yr as VercelGenerateResult, Yt as HumanVerdictUpdate, Z as BitfabRivetIntegration, Zn as ScenarioTrigger, Zr as BitfabClaudeAgentHandler, Zt as LabelConfidence, _ as BitfabConfig, _i as MockOverrideInput, _n as AssertionCode, _r as ExperimentSummary, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as SaveCategoryParams, an as TraceLabels, ar as TraceTarget, at as DbBranchOptions, b as CurrentSpan, bi as NO_MOCK_OVERRIDE, bn as AssertionGenerationError, br as ExperimentSummaryFacts, bt as ReplayInterrupt, c as SeedResult, ci as HttpClient, cn as VerdictAction, cr as Experiment, ct as ReplayError, d as seedFromRegistry, di as SpanType, dn as VerdictSource, dr as ExperimentJitter, dt as ReplayItemFinishProgress, ei as AssertionCategorySummary, en as LabelStatus, er as TraceAssertionsResult, et as RivetIntegrationOptions, f as finalizers, fi as TokenUsage, fn as VerdictStatus, fr as ExperimentPage, ft as ReplayItemStartProgress, g as Bitfab, gi as MockOverrideCtx, gn as ArchiveAssertionsParams, gr as ExperimentStatus, gt as ReplayResult, h as CommitRef, hi as MockOverride, hn as VerdictsClient, hr as ExperimentRunBy, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as SaveAssertionCategoryParams, in as PassFailVerdict, ir as TraceSearchResult, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, ji as SelectiveReplayOptions, jn as SaveAssertionsAllParams, jr as DatasetsClient, jt as BitfabLangGraphCallbackHandler, k as SpanMethodDecorator, ki as ReplayNodeIdentity, kn as GenerateScenarioOptions, kr as DatasetGraderRef, kt as BitfabLangGraphIntegration, l as defineReplayRegistry, li as SpanLookup, ln as VerdictConfidence, lr as ExperimentCategoryTally, lt as ReplayExperiment, m as __version__, mi as DbBranchTimings, mn as VerdictUpdate, mr as ExperimentRollupResult, mt as ReplayProgress, n as ReplayRegistration, ni as Category, nn as LabelUpdate, nr as TraceSearchFilters, nt as AdaptContext, o as ReseedRegistryResult, oi as CapturedSpan, on as TraceVerdicts, or as TraceTargetOccurrence, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as flushTraces, pn as VerdictTarget, pr as ExperimentRollup, pt as ReplayOptions, q as SpanListField, qn as ScenarioHistoryEntry, qr as BitfabVercelAiHandler, qt as HumanLabelUpdate, r as ReplayRegistry, ri as CategorySummary, rn as LabelsClient, rr as TraceSearchParams, rt as AdaptInputsFn, s as SeedCase, si as CodeChangeFile, sn as Verdict, sr as TracesClient, st as MockStrategy, t as ReplayOptionsFactory, ti as CategoriesClient, tn as LabelTarget, tr as TraceAssertionsUpdate, tt as ReplayBranch, u as reseedFromRegistry, ui as SpanOccurrence, un as VerdictOutcome, ur as ExperimentCodeChangeTotals, ut as ReplayItem, v as BitfabFunction, vi as MockOverrideResolver, vn as AssertionEvidenceParameter, vr as ExperimentSummaryBeforeAfter, vt as reportReplayProgress, w as NodeOptions, wi as MixedTracingError, wn as AssertionLabelEvidence, wr as ExperimentsClient, wt as OrganizationMember, x as CurrentTrace, xi as NodeMatcher, xn as AssertionGenerationStatus, xr as ExperimentSummaryResult, xt as ReplayInterruptSignal, y as CaptureWhen, yi as MockValue, yn as AssertionGeneration, yr as ExperimentSummaryExampleTrace, yt as serializeReplayResult, z as getCurrentSpan, zi as Assignee, zn as ScenarioAction, zr as RemoveDatasetGradersResult, zt as GraderVerdictOutcome } from "./index-eZPhpygX.js";
2
+ export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionCode, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionKind, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GenerateScenarioOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type PiIntegrationOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioCreationStatus, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- import { A as VerdictsClient, C as OrganizationMembersClient, D as BitfabLangGraphCallbackHandler, E as BitfabLangGraphIntegration, F as GraderRerunTimeoutError, I as BitfabClaudeAgentHandler, L as DEFAULT_SERVICE_URL, M as SUPPORTED_PROVIDERS, N as DatasetsClient, O as GradersClient, P as GraderRerunError, R as AssertionCategoriesClient, S as BitfabPiIntegration, T as NO_MOCK_OVERRIDE, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as ExperimentsClient, k as LabelsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as BitfabOpenAIAgentHandler, x as serializeReplayResult, y as ReplayError, z as CategoriesClient } from "./src-CkjZNnHR.js";
2
- import { C as BitfabError, E as __version__, i as flushTraces, t as HttpClient, w as MixedTracingError } from "./http-DSBpxeyr.js";
1
+ import { A as VerdictsClient, C as OrganizationMembersClient, D as BitfabLangGraphCallbackHandler, E as BitfabLangGraphIntegration, F as GraderRerunTimeoutError, I as BitfabClaudeAgentHandler, L as DEFAULT_SERVICE_URL, M as SUPPORTED_PROVIDERS, N as DatasetsClient, O as GradersClient, P as GraderRerunError, R as AssertionCategoriesClient, S as BitfabPiIntegration, T as NO_MOCK_OVERRIDE, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as ExperimentsClient, k as LabelsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as BitfabOpenAIAgentHandler, x as serializeReplayResult, y as ReplayError, z as CategoriesClient } from "./src-v9Cp4amm.js";
2
+ import { C as BitfabError, E as __version__, i as flushTraces, t as HttpClient, w as MixedTracingError } from "./http-Dd0XLEqA.js";
3
3
  export { AssertionCategoriesClient, AssertionGenerationError, AssertionGenerationTimeoutError, BITFAB_PROGRESS_PREFIX, Bitfab, BitfabClaudeAgentHandler, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, CategoriesClient, DEFAULT_SERVICE_URL, DatasetsClient, DbBranchReplayError, ExperimentsClient, GraderRerunError, GraderRerunTimeoutError, GradersClient, HttpClient, LabelsClient, MixedTracingError, NO_MOCK_OVERRIDE, OrganizationMembersClient, ReplayError, SUPPORTED_PROVIDERS, SpansClient, TracesClient, VerdictsClient, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/node.cjs CHANGED
@@ -2,8 +2,8 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_src = require("./src-DVJRiYEl.cjs");
6
- const require_http = require("./http-k6ROO7LA.cjs");
5
+ const require_src = require("./src-KAtu1Cmn.cjs");
6
+ const require_http = require("./http-BHgwaBjv.cjs");
7
7
  const require_autoTrace = require("./autoTrace-DPWV1Xzr.cjs");
8
8
  let async_hooks = require("async_hooks");
9
9
  //#region src/asyncStorageNode.ts
package/dist/node.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as RivetEffectType, $n as TraceAssertionsResult, $r as AssertionCategorySummary, $t as LabelSource, A as SpanMethodDecoratorContext, Ai as SelectiveReplayOptions, An as SaveAssertionsAllParams, Ar as DatasetsClient, At as LangGraphIntegrationOptions, B as getCurrentTrace, Bi as JustificationSpan, Bn as ScenarioCreationStatus, Br as RerunGradersOptions, Bt as GraderVerdictSource, C as NodeMethodDecorator, Ci as MixedTracingError, Cn as AssertionKind, Cr as ExperimentsClient, Ct as PiIntegrationOptions, D as SeedCaseOptions, Di as SUPPORTED_PROVIDERS, Dn as AssertionVerdictEvidence, Dr as Dataset, Dt as BitfabAgentMiddleware, E as ReseedResult, Ei as DbSnapshotRef, En as AssertionRewriteStatus, Er as AddDatasetTracesResult, Et as BitfabOpenAIAgentHandler, F as WrapOpenAIResponsesOptions, Fi as ApprovalFields, Fn as SaveScenarioParams, Fr as GraderRerunStatus, Ft as GraderLabelOutcome, G as TracingProcessor, Gn as ScenarioGeneration, Gr as BitfabLanguageModelMiddleware, Gt as AssertionVerdict, H as ActiveSpanContext, Hn as ScenarioDataAppend, Hr as SaveDatasetParams, Ht as GradersClient, I as WrapOpenRouterOptions, Ii as ApprovalState, In as SavedTraceAssertion, Ir as GraderRerunTimeoutError, It as GraderLabelSource, J as SpanListParams, Jn as ScenarioRecordInput, Jr as VercelGenerateResult, Jt as HumanVerdictOutcome, K as ListedSpan, Kn as ScenarioHistoryEntry, Kr as BitfabVercelAiHandler, Kt as HumanLabelOutcome, L as WrappedBamlFn, Li as Approver, Ln as Scenario, Lr as ListDatasetsParams, Lt as GraderLabelUpdate, M as WrapAnthropicOptions, Mi as AllowedEnvVars, Mn as SaveScenarioActualOutcome, Mr as GraderRerunError, Mt as GetGraderLabelsParams, N as WrapBAMLOptions, Ni as BamlExecutionResult, Nn as SaveScenarioData, Nr as GraderRerunProgress, Nt as GetGraderVerdictsParams, O as SeedRunOptions, Oi as ReplayNodeIdentity, On as GenerateAssertionsOptions, Or as DatasetGraderRef, Ot as BitfabLangGraphAgent, P as WrapJevOptions, Pi as ProviderDefinition, Pn as SaveScenarioHistoryEntry, Pr as GraderRerunResult, Pt as GraderLabel, Q as RivetContextLike, Qn as TraceAssertionSource, Qr as AssertionCategory, Qt as LabelOutcome, R as getCurrentReplayBranch, Ri as Assignee, Rn as ScenarioAction, Rr as RemoveDatasetGradersResult, Rt as GraderVerdict, S as DetachedTrace, Si as BitfabError, Sn as AssertionGenerationTimeoutError, Sr as ExperimentTotals, St as BitfabPiIntegration, T as ReseedOptions, Ti as DbSnapshotProvider, Tn as AssertionRewrite, Tr as AddDatasetGradersResult, Tt as OrganizationMembersClient, U as BitfabOpenAITracingProcessor, Un as ScenarioDataOrigin, Ur as SaveDatasetResult, Ut as ArchiveLabelTarget, V as CaptureSurface, Vn as ScenarioData, Vr as RerunGradersResult, Vt as GraderVerdictUpdate, W as TraceResponse, Wn as ScenarioDataSources, Wr as UpdateDatasetParams, Wt as ArchiveVerdictTarget, X as SpansClient, Xn as ScenarioTrigger, Xr as BitfabClaudeAgentHandler, Xt as LabelAction, Y as SpanListResult, Yn as ScenarioSource, Yr as VercelStreamResult, Yt as HumanVerdictUpdate, Z as BitfabRivetIntegration, Zn as TraceAssertion, Zr as AssertionCategoriesClient, Zt as LabelConfidence, _ as BitfabConfig, _i as MockOverrideResolver, _n as AssertionCode, _r as ExperimentSummaryBeforeAfter, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as CapturedSpan, an as TraceLabels, ar as TraceTargetOccurrence, at as DbBranchOptions, b as CurrentSpan, bi as NodeMatcher, bn as AssertionGenerationError, br as ExperimentSummaryResult, bt as ReplayInterrupt, c as SeedResult, ci as SpanLookup, cn as VerdictAction, cr as ExperimentCategoryTally, ct as ReplayError, d as seedFromRegistry, di as TokenUsage, dn as VerdictSource, dr as ExperimentPage, dt as ReplayItemFinishProgress, ei as CategoriesClient, en as LabelStatus, er as TraceAssertionsUpdate, et as RivetIntegrationOptions, f as finalizers, fi as flushTraces, fn as VerdictStatus, fr as ExperimentRollup, ft as ReplayItemStartProgress, g as Bitfab, gi as MockOverrideInput, gn as ArchiveAssertionsParams, gr as ExperimentSummary, gt as ReplayResult, h as CommitRef, hi as MockOverrideCtx, hn as VerdictsClient, hr as ExperimentStatus, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as SaveCategoryParams, in as PassFailVerdict, ir as TraceTarget, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, ji as SelectiveReplayReport, jn as SaveAssertionsParams, jr as GraderRerun, jt as BitfabLangGraphCallbackHandler, k as SpanMethodDecorator, ki as SelectiveReplayDecision, kn as SaveAssertion, kr as DatasetTraceIds, kt as BitfabLangGraphIntegration, l as defineReplayRegistry, li as SpanOccurrence, ln as VerdictConfidence, lr as ExperimentCodeChangeTotals, lt as ReplayExperiment, m as __version__, mi as MockOverride, mn as VerdictUpdate, mr as ExperimentRunBy, mt as ReplayProgress, n as ReplayRegistration, ni as CategorySummary, nn as LabelUpdate, nr as TraceSearchParams, nt as AdaptContext, o as ReseedRegistryResult, oi as CodeChangeFile, on as TraceVerdicts, or as TracesClient, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as DbBranchTimings, pn as VerdictTarget, pr as ExperimentRollupResult, pt as ReplayOptions, q as SpanListField, qn as ScenarioRecord, qr as VercelCallParams, qt as HumanLabelUpdate, r as ReplayRegistry, ri as SaveAssertionCategoryParams, rn as LabelsClient, rr as TraceSearchResult, rt as AdaptInputsFn, s as SeedCase, si as HttpClient, sn as Verdict, sr as Experiment, st as MockStrategy, t as ReplayOptionsFactory, ti as Category, tn as LabelTarget, tr as TraceSearchFilters, tt as ReplayBranch, u as reseedFromRegistry, ui as SpanType, un as VerdictOutcome, ur as ExperimentJitter, ut as ReplayItem, v as BitfabFunction, vi as MockValue, vn as AssertionEvidenceParameter, vr as ExperimentSummaryExampleTrace, vt as reportReplayProgress, w as NodeOptions, wi as DbSnapshotConfig, wn as AssertionLabelEvidence, wr as ListExperimentsParams, wt as OrganizationMember, x as CurrentTrace, xi as SpanNodeMeta, xn as AssertionGenerationStatus, xr as ExperimentTally, xt as ReplayInterruptSignal, y as CaptureWhen, yi as NO_MOCK_OVERRIDE, yn as AssertionGeneration, yr as ExperimentSummaryFacts, yt as serializeReplayResult, z as getCurrentSpan, zi as Justification, zn as ScenarioActualOutcome, zr as RemoveDatasetTracesResult, zt as GraderVerdictOutcome } from "./index-BmPTyjQO.cjs";
2
- export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionCode, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionKind, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type PiIntegrationOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioCreationStatus, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
1
+ import { $ as RivetEffectType, $n as TraceAssertionSource, $r as AssertionCategory, $t as LabelSource, A as SpanMethodDecoratorContext, Ai as SelectiveReplayDecision, An as SaveAssertion, Ar as DatasetTraceIds, At as LangGraphIntegrationOptions, B as getCurrentTrace, Bi as Justification, Bn as ScenarioActualOutcome, Br as RemoveDatasetTracesResult, Bt as GraderVerdictSource, C as NodeMethodDecorator, Ci as BitfabError, Cn as AssertionKind, Cr as ExperimentTotals, Ct as PiIntegrationOptions, D as SeedCaseOptions, Di as DbSnapshotRef, Dn as AssertionVerdictEvidence, Dr as AddDatasetTracesResult, Dt as BitfabAgentMiddleware, E as ReseedResult, Ei as DbSnapshotProvider, En as AssertionRewriteStatus, Er as AddDatasetGradersResult, Et as BitfabOpenAIAgentHandler, F as WrapOpenAIResponsesOptions, Fi as ProviderDefinition, Fn as SaveScenarioHistoryEntry, Fr as GraderRerunResult, Ft as GraderLabelOutcome, G as TracingProcessor, Gn as ScenarioDataSources, Gr as UpdateDatasetParams, Gt as AssertionVerdict, H as ActiveSpanContext, Hn as ScenarioData, Hr as RerunGradersResult, Ht as GradersClient, I as WrapOpenRouterOptions, Ii as ApprovalFields, In as SaveScenarioParams, Ir as GraderRerunStatus, It as GraderLabelSource, J as SpanListParams, Jn as ScenarioRecord, Jr as VercelCallParams, Jt as HumanVerdictOutcome, K as ListedSpan, Kn as ScenarioGeneration, Kr as BitfabLanguageModelMiddleware, Kt as HumanLabelOutcome, L as WrappedBamlFn, Li as ApprovalState, Ln as SavedTraceAssertion, Lr as GraderRerunTimeoutError, Lt as GraderLabelUpdate, M as WrapAnthropicOptions, Mi as SelectiveReplayReport, Mn as SaveAssertionsParams, Mr as GraderRerun, Mt as GetGraderLabelsParams, N as WrapBAMLOptions, Ni as AllowedEnvVars, Nn as SaveScenarioActualOutcome, Nr as GraderRerunError, Nt as GetGraderVerdictsParams, O as SeedRunOptions, Oi as SUPPORTED_PROVIDERS, On as GenerateAssertionsOptions, Or as Dataset, Ot as BitfabLangGraphAgent, P as WrapJevOptions, Pi as BamlExecutionResult, Pn as SaveScenarioData, Pr as GraderRerunProgress, Pt as GraderLabel, Q as RivetContextLike, Qn as TraceAssertion, Qr as AssertionCategoriesClient, Qt as LabelOutcome, R as getCurrentReplayBranch, Ri as Approver, Rn as Scenario, Rr as ListDatasetsParams, Rt as GraderVerdict, S as DetachedTrace, Si as SpanNodeMeta, Sn as AssertionGenerationTimeoutError, Sr as ExperimentTally, St as BitfabPiIntegration, T as ReseedOptions, Ti as DbSnapshotConfig, Tn as AssertionRewrite, Tr as ListExperimentsParams, Tt as OrganizationMembersClient, U as BitfabOpenAITracingProcessor, Un as ScenarioDataAppend, Ur as SaveDatasetParams, Ut as ArchiveLabelTarget, V as CaptureSurface, Vi as JustificationSpan, Vn as ScenarioCreationStatus, Vr as RerunGradersOptions, Vt as GraderVerdictUpdate, W as TraceResponse, Wn as ScenarioDataOrigin, Wr as SaveDatasetResult, Wt as ArchiveVerdictTarget, X as SpansClient, Xn as ScenarioSource, Xr as VercelStreamResult, Xt as LabelAction, Y as SpanListResult, Yn as ScenarioRecordInput, Yr as VercelGenerateResult, Yt as HumanVerdictUpdate, Z as BitfabRivetIntegration, Zn as ScenarioTrigger, Zr as BitfabClaudeAgentHandler, Zt as LabelConfidence, _ as BitfabConfig, _i as MockOverrideInput, _n as AssertionCode, _r as ExperimentSummary, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as SaveCategoryParams, an as TraceLabels, ar as TraceTarget, at as DbBranchOptions, b as CurrentSpan, bi as NO_MOCK_OVERRIDE, bn as AssertionGenerationError, br as ExperimentSummaryFacts, bt as ReplayInterrupt, c as SeedResult, ci as HttpClient, cn as VerdictAction, cr as Experiment, ct as ReplayError, d as seedFromRegistry, di as SpanType, dn as VerdictSource, dr as ExperimentJitter, dt as ReplayItemFinishProgress, ei as AssertionCategorySummary, en as LabelStatus, er as TraceAssertionsResult, et as RivetIntegrationOptions, f as finalizers, fi as TokenUsage, fn as VerdictStatus, fr as ExperimentPage, ft as ReplayItemStartProgress, g as Bitfab, gi as MockOverrideCtx, gn as ArchiveAssertionsParams, gr as ExperimentStatus, gt as ReplayResult, h as CommitRef, hi as MockOverride, hn as VerdictsClient, hr as ExperimentRunBy, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as SaveAssertionCategoryParams, in as PassFailVerdict, ir as TraceSearchResult, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, ji as SelectiveReplayOptions, jn as SaveAssertionsAllParams, jr as DatasetsClient, jt as BitfabLangGraphCallbackHandler, k as SpanMethodDecorator, ki as ReplayNodeIdentity, kn as GenerateScenarioOptions, kr as DatasetGraderRef, kt as BitfabLangGraphIntegration, l as defineReplayRegistry, li as SpanLookup, ln as VerdictConfidence, lr as ExperimentCategoryTally, lt as ReplayExperiment, m as __version__, mi as DbBranchTimings, mn as VerdictUpdate, mr as ExperimentRollupResult, mt as ReplayProgress, n as ReplayRegistration, ni as Category, nn as LabelUpdate, nr as TraceSearchFilters, nt as AdaptContext, o as ReseedRegistryResult, oi as CapturedSpan, on as TraceVerdicts, or as TraceTargetOccurrence, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as flushTraces, pn as VerdictTarget, pr as ExperimentRollup, pt as ReplayOptions, q as SpanListField, qn as ScenarioHistoryEntry, qr as BitfabVercelAiHandler, qt as HumanLabelUpdate, r as ReplayRegistry, ri as CategorySummary, rn as LabelsClient, rr as TraceSearchParams, rt as AdaptInputsFn, s as SeedCase, si as CodeChangeFile, sn as Verdict, sr as TracesClient, st as MockStrategy, t as ReplayOptionsFactory, ti as CategoriesClient, tn as LabelTarget, tr as TraceAssertionsUpdate, tt as ReplayBranch, u as reseedFromRegistry, ui as SpanOccurrence, un as VerdictOutcome, ur as ExperimentCodeChangeTotals, ut as ReplayItem, v as BitfabFunction, vi as MockOverrideResolver, vn as AssertionEvidenceParameter, vr as ExperimentSummaryBeforeAfter, vt as reportReplayProgress, w as NodeOptions, wi as MixedTracingError, wn as AssertionLabelEvidence, wr as ExperimentsClient, wt as OrganizationMember, x as CurrentTrace, xi as NodeMatcher, xn as AssertionGenerationStatus, xr as ExperimentSummaryResult, xt as ReplayInterruptSignal, y as CaptureWhen, yi as MockValue, yn as AssertionGeneration, yr as ExperimentSummaryExampleTrace, yt as serializeReplayResult, z as getCurrentSpan, zi as Assignee, zn as ScenarioAction, zr as RemoveDatasetGradersResult, zt as GraderVerdictOutcome } from "./index-eZPhpygX.cjs";
2
+ export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionCode, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionKind, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GenerateScenarioOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type PiIntegrationOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioCreationStatus, 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 TraceAssertionsResult, $r as AssertionCategorySummary, $t as LabelSource, A as SpanMethodDecoratorContext, Ai as SelectiveReplayOptions, An as SaveAssertionsAllParams, Ar as DatasetsClient, At as LangGraphIntegrationOptions, B as getCurrentTrace, Bi as JustificationSpan, Bn as ScenarioCreationStatus, Br as RerunGradersOptions, Bt as GraderVerdictSource, C as NodeMethodDecorator, Ci as MixedTracingError, Cn as AssertionKind, Cr as ExperimentsClient, Ct as PiIntegrationOptions, D as SeedCaseOptions, Di as SUPPORTED_PROVIDERS, Dn as AssertionVerdictEvidence, Dr as Dataset, Dt as BitfabAgentMiddleware, E as ReseedResult, Ei as DbSnapshotRef, En as AssertionRewriteStatus, Er as AddDatasetTracesResult, Et as BitfabOpenAIAgentHandler, F as WrapOpenAIResponsesOptions, Fi as ApprovalFields, Fn as SaveScenarioParams, Fr as GraderRerunStatus, Ft as GraderLabelOutcome, G as TracingProcessor, Gn as ScenarioGeneration, Gr as BitfabLanguageModelMiddleware, Gt as AssertionVerdict, H as ActiveSpanContext, Hn as ScenarioDataAppend, Hr as SaveDatasetParams, Ht as GradersClient, I as WrapOpenRouterOptions, Ii as ApprovalState, In as SavedTraceAssertion, Ir as GraderRerunTimeoutError, It as GraderLabelSource, J as SpanListParams, Jn as ScenarioRecordInput, Jr as VercelGenerateResult, Jt as HumanVerdictOutcome, K as ListedSpan, Kn as ScenarioHistoryEntry, Kr as BitfabVercelAiHandler, Kt as HumanLabelOutcome, L as WrappedBamlFn, Li as Approver, Ln as Scenario, Lr as ListDatasetsParams, Lt as GraderLabelUpdate, M as WrapAnthropicOptions, Mi as AllowedEnvVars, Mn as SaveScenarioActualOutcome, Mr as GraderRerunError, Mt as GetGraderLabelsParams, N as WrapBAMLOptions, Ni as BamlExecutionResult, Nn as SaveScenarioData, Nr as GraderRerunProgress, Nt as GetGraderVerdictsParams, O as SeedRunOptions, Oi as ReplayNodeIdentity, On as GenerateAssertionsOptions, Or as DatasetGraderRef, Ot as BitfabLangGraphAgent, P as WrapJevOptions, Pi as ProviderDefinition, Pn as SaveScenarioHistoryEntry, Pr as GraderRerunResult, Pt as GraderLabel, Q as RivetContextLike, Qn as TraceAssertionSource, Qr as AssertionCategory, Qt as LabelOutcome, R as getCurrentReplayBranch, Ri as Assignee, Rn as ScenarioAction, Rr as RemoveDatasetGradersResult, Rt as GraderVerdict, S as DetachedTrace, Si as BitfabError, Sn as AssertionGenerationTimeoutError, Sr as ExperimentTotals, St as BitfabPiIntegration, T as ReseedOptions, Ti as DbSnapshotProvider, Tn as AssertionRewrite, Tr as AddDatasetGradersResult, Tt as OrganizationMembersClient, U as BitfabOpenAITracingProcessor, Un as ScenarioDataOrigin, Ur as SaveDatasetResult, Ut as ArchiveLabelTarget, V as CaptureSurface, Vn as ScenarioData, Vr as RerunGradersResult, Vt as GraderVerdictUpdate, W as TraceResponse, Wn as ScenarioDataSources, Wr as UpdateDatasetParams, Wt as ArchiveVerdictTarget, X as SpansClient, Xn as ScenarioTrigger, Xr as BitfabClaudeAgentHandler, Xt as LabelAction, Y as SpanListResult, Yn as ScenarioSource, Yr as VercelStreamResult, Yt as HumanVerdictUpdate, Z as BitfabRivetIntegration, Zn as TraceAssertion, Zr as AssertionCategoriesClient, Zt as LabelConfidence, _ as BitfabConfig, _i as MockOverrideResolver, _n as AssertionCode, _r as ExperimentSummaryBeforeAfter, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as CapturedSpan, an as TraceLabels, ar as TraceTargetOccurrence, at as DbBranchOptions, b as CurrentSpan, bi as NodeMatcher, bn as AssertionGenerationError, br as ExperimentSummaryResult, bt as ReplayInterrupt, c as SeedResult, ci as SpanLookup, cn as VerdictAction, cr as ExperimentCategoryTally, ct as ReplayError, d as seedFromRegistry, di as TokenUsage, dn as VerdictSource, dr as ExperimentPage, dt as ReplayItemFinishProgress, ei as CategoriesClient, en as LabelStatus, er as TraceAssertionsUpdate, et as RivetIntegrationOptions, f as finalizers, fi as flushTraces, fn as VerdictStatus, fr as ExperimentRollup, ft as ReplayItemStartProgress, g as Bitfab, gi as MockOverrideInput, gn as ArchiveAssertionsParams, gr as ExperimentSummary, gt as ReplayResult, h as CommitRef, hi as MockOverrideCtx, hn as VerdictsClient, hr as ExperimentStatus, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as SaveCategoryParams, in as PassFailVerdict, ir as TraceTarget, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, ji as SelectiveReplayReport, jn as SaveAssertionsParams, jr as GraderRerun, jt as BitfabLangGraphCallbackHandler, k as SpanMethodDecorator, ki as SelectiveReplayDecision, kn as SaveAssertion, kr as DatasetTraceIds, kt as BitfabLangGraphIntegration, l as defineReplayRegistry, li as SpanOccurrence, ln as VerdictConfidence, lr as ExperimentCodeChangeTotals, lt as ReplayExperiment, m as __version__, mi as MockOverride, mn as VerdictUpdate, mr as ExperimentRunBy, mt as ReplayProgress, n as ReplayRegistration, ni as CategorySummary, nn as LabelUpdate, nr as TraceSearchParams, nt as AdaptContext, o as ReseedRegistryResult, oi as CodeChangeFile, on as TraceVerdicts, or as TracesClient, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as DbBranchTimings, pn as VerdictTarget, pr as ExperimentRollupResult, pt as ReplayOptions, q as SpanListField, qn as ScenarioRecord, qr as VercelCallParams, qt as HumanLabelUpdate, r as ReplayRegistry, ri as SaveAssertionCategoryParams, rn as LabelsClient, rr as TraceSearchResult, rt as AdaptInputsFn, s as SeedCase, si as HttpClient, sn as Verdict, sr as Experiment, st as MockStrategy, t as ReplayOptionsFactory, ti as Category, tn as LabelTarget, tr as TraceSearchFilters, tt as ReplayBranch, u as reseedFromRegistry, ui as SpanType, un as VerdictOutcome, ur as ExperimentJitter, ut as ReplayItem, v as BitfabFunction, vi as MockValue, vn as AssertionEvidenceParameter, vr as ExperimentSummaryExampleTrace, vt as reportReplayProgress, w as NodeOptions, wi as DbSnapshotConfig, wn as AssertionLabelEvidence, wr as ListExperimentsParams, wt as OrganizationMember, x as CurrentTrace, xi as SpanNodeMeta, xn as AssertionGenerationStatus, xr as ExperimentTally, xt as ReplayInterruptSignal, y as CaptureWhen, yi as NO_MOCK_OVERRIDE, yn as AssertionGeneration, yr as ExperimentSummaryFacts, yt as serializeReplayResult, z as getCurrentSpan, zi as Justification, zn as ScenarioActualOutcome, zr as RemoveDatasetTracesResult, zt as GraderVerdictOutcome } from "./index-BmPTyjQO.js";
2
- export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionCode, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionKind, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type PiIntegrationOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioCreationStatus, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
1
+ import { $ as RivetEffectType, $n as TraceAssertionSource, $r as AssertionCategory, $t as LabelSource, A as SpanMethodDecoratorContext, Ai as SelectiveReplayDecision, An as SaveAssertion, Ar as DatasetTraceIds, At as LangGraphIntegrationOptions, B as getCurrentTrace, Bi as Justification, Bn as ScenarioActualOutcome, Br as RemoveDatasetTracesResult, Bt as GraderVerdictSource, C as NodeMethodDecorator, Ci as BitfabError, Cn as AssertionKind, Cr as ExperimentTotals, Ct as PiIntegrationOptions, D as SeedCaseOptions, Di as DbSnapshotRef, Dn as AssertionVerdictEvidence, Dr as AddDatasetTracesResult, Dt as BitfabAgentMiddleware, E as ReseedResult, Ei as DbSnapshotProvider, En as AssertionRewriteStatus, Er as AddDatasetGradersResult, Et as BitfabOpenAIAgentHandler, F as WrapOpenAIResponsesOptions, Fi as ProviderDefinition, Fn as SaveScenarioHistoryEntry, Fr as GraderRerunResult, Ft as GraderLabelOutcome, G as TracingProcessor, Gn as ScenarioDataSources, Gr as UpdateDatasetParams, Gt as AssertionVerdict, H as ActiveSpanContext, Hn as ScenarioData, Hr as RerunGradersResult, Ht as GradersClient, I as WrapOpenRouterOptions, Ii as ApprovalFields, In as SaveScenarioParams, Ir as GraderRerunStatus, It as GraderLabelSource, J as SpanListParams, Jn as ScenarioRecord, Jr as VercelCallParams, Jt as HumanVerdictOutcome, K as ListedSpan, Kn as ScenarioGeneration, Kr as BitfabLanguageModelMiddleware, Kt as HumanLabelOutcome, L as WrappedBamlFn, Li as ApprovalState, Ln as SavedTraceAssertion, Lr as GraderRerunTimeoutError, Lt as GraderLabelUpdate, M as WrapAnthropicOptions, Mi as SelectiveReplayReport, Mn as SaveAssertionsParams, Mr as GraderRerun, Mt as GetGraderLabelsParams, N as WrapBAMLOptions, Ni as AllowedEnvVars, Nn as SaveScenarioActualOutcome, Nr as GraderRerunError, Nt as GetGraderVerdictsParams, O as SeedRunOptions, Oi as SUPPORTED_PROVIDERS, On as GenerateAssertionsOptions, Or as Dataset, Ot as BitfabLangGraphAgent, P as WrapJevOptions, Pi as BamlExecutionResult, Pn as SaveScenarioData, Pr as GraderRerunProgress, Pt as GraderLabel, Q as RivetContextLike, Qn as TraceAssertion, Qr as AssertionCategoriesClient, Qt as LabelOutcome, R as getCurrentReplayBranch, Ri as Approver, Rn as Scenario, Rr as ListDatasetsParams, Rt as GraderVerdict, S as DetachedTrace, Si as SpanNodeMeta, Sn as AssertionGenerationTimeoutError, Sr as ExperimentTally, St as BitfabPiIntegration, T as ReseedOptions, Ti as DbSnapshotConfig, Tn as AssertionRewrite, Tr as ListExperimentsParams, Tt as OrganizationMembersClient, U as BitfabOpenAITracingProcessor, Un as ScenarioDataAppend, Ur as SaveDatasetParams, Ut as ArchiveLabelTarget, V as CaptureSurface, Vi as JustificationSpan, Vn as ScenarioCreationStatus, Vr as RerunGradersOptions, Vt as GraderVerdictUpdate, W as TraceResponse, Wn as ScenarioDataOrigin, Wr as SaveDatasetResult, Wt as ArchiveVerdictTarget, X as SpansClient, Xn as ScenarioSource, Xr as VercelStreamResult, Xt as LabelAction, Y as SpanListResult, Yn as ScenarioRecordInput, Yr as VercelGenerateResult, Yt as HumanVerdictUpdate, Z as BitfabRivetIntegration, Zn as ScenarioTrigger, Zr as BitfabClaudeAgentHandler, Zt as LabelConfidence, _ as BitfabConfig, _i as MockOverrideInput, _n as AssertionCode, _r as ExperimentSummary, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as SaveCategoryParams, an as TraceLabels, ar as TraceTarget, at as DbBranchOptions, b as CurrentSpan, bi as NO_MOCK_OVERRIDE, bn as AssertionGenerationError, br as ExperimentSummaryFacts, bt as ReplayInterrupt, c as SeedResult, ci as HttpClient, cn as VerdictAction, cr as Experiment, ct as ReplayError, d as seedFromRegistry, di as SpanType, dn as VerdictSource, dr as ExperimentJitter, dt as ReplayItemFinishProgress, ei as AssertionCategorySummary, en as LabelStatus, er as TraceAssertionsResult, et as RivetIntegrationOptions, f as finalizers, fi as TokenUsage, fn as VerdictStatus, fr as ExperimentPage, ft as ReplayItemStartProgress, g as Bitfab, gi as MockOverrideCtx, gn as ArchiveAssertionsParams, gr as ExperimentStatus, gt as ReplayResult, h as CommitRef, hi as MockOverride, hn as VerdictsClient, hr as ExperimentRunBy, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as SaveAssertionCategoryParams, in as PassFailVerdict, ir as TraceSearchResult, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, ji as SelectiveReplayOptions, jn as SaveAssertionsAllParams, jr as DatasetsClient, jt as BitfabLangGraphCallbackHandler, k as SpanMethodDecorator, ki as ReplayNodeIdentity, kn as GenerateScenarioOptions, kr as DatasetGraderRef, kt as BitfabLangGraphIntegration, l as defineReplayRegistry, li as SpanLookup, ln as VerdictConfidence, lr as ExperimentCategoryTally, lt as ReplayExperiment, m as __version__, mi as DbBranchTimings, mn as VerdictUpdate, mr as ExperimentRollupResult, mt as ReplayProgress, n as ReplayRegistration, ni as Category, nn as LabelUpdate, nr as TraceSearchFilters, nt as AdaptContext, o as ReseedRegistryResult, oi as CapturedSpan, on as TraceVerdicts, or as TraceTargetOccurrence, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as flushTraces, pn as VerdictTarget, pr as ExperimentRollup, pt as ReplayOptions, q as SpanListField, qn as ScenarioHistoryEntry, qr as BitfabVercelAiHandler, qt as HumanLabelUpdate, r as ReplayRegistry, ri as CategorySummary, rn as LabelsClient, rr as TraceSearchParams, rt as AdaptInputsFn, s as SeedCase, si as CodeChangeFile, sn as Verdict, sr as TracesClient, st as MockStrategy, t as ReplayOptionsFactory, ti as CategoriesClient, tn as LabelTarget, tr as TraceAssertionsUpdate, tt as ReplayBranch, u as reseedFromRegistry, ui as SpanOccurrence, un as VerdictOutcome, ur as ExperimentCodeChangeTotals, ut as ReplayItem, v as BitfabFunction, vi as MockOverrideResolver, vn as AssertionEvidenceParameter, vr as ExperimentSummaryBeforeAfter, vt as reportReplayProgress, w as NodeOptions, wi as MixedTracingError, wn as AssertionLabelEvidence, wr as ExperimentsClient, wt as OrganizationMember, x as CurrentTrace, xi as NodeMatcher, xn as AssertionGenerationStatus, xr as ExperimentSummaryResult, xt as ReplayInterruptSignal, y as CaptureWhen, yi as MockValue, yn as AssertionGeneration, yr as ExperimentSummaryExampleTrace, yt as serializeReplayResult, z as getCurrentSpan, zi as Assignee, zn as ScenarioAction, zr as RemoveDatasetGradersResult, zt as GraderVerdictOutcome } from "./index-eZPhpygX.js";
2
+ export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionCode, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionKind, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GenerateScenarioOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type PiIntegrationOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioCreationStatus, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/node.js CHANGED
@@ -1,5 +1,5 @@
1
- import { A as VerdictsClient, C as OrganizationMembersClient, D as BitfabLangGraphCallbackHandler, E as BitfabLangGraphIntegration, F as GraderRerunTimeoutError, I as BitfabClaudeAgentHandler, L as DEFAULT_SERVICE_URL, M as SUPPORTED_PROVIDERS, N as DatasetsClient, O as GradersClient, P as GraderRerunError, R as AssertionCategoriesClient, S as BitfabPiIntegration, T as NO_MOCK_OVERRIDE, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as ExperimentsClient, k as LabelsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as BitfabOpenAIAgentHandler, x as serializeReplayResult, y as ReplayError, z as CategoriesClient } from "./src-CkjZNnHR.js";
2
- import { C as BitfabError, E as __version__, i as flushTraces, t as HttpClient, w as MixedTracingError } from "./http-DSBpxeyr.js";
1
+ import { A as VerdictsClient, C as OrganizationMembersClient, D as BitfabLangGraphCallbackHandler, E as BitfabLangGraphIntegration, F as GraderRerunTimeoutError, I as BitfabClaudeAgentHandler, L as DEFAULT_SERVICE_URL, M as SUPPORTED_PROVIDERS, N as DatasetsClient, O as GradersClient, P as GraderRerunError, R as AssertionCategoriesClient, S as BitfabPiIntegration, T as NO_MOCK_OVERRIDE, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as ExperimentsClient, k as LabelsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as BitfabOpenAIAgentHandler, x as serializeReplayResult, y as ReplayError, z as CategoriesClient } from "./src-v9Cp4amm.js";
2
+ import { C as BitfabError, E as __version__, i as flushTraces, t as HttpClient, w as MixedTracingError } from "./http-Dd0XLEqA.js";
3
3
  import { U as registerAsyncLocalStorageClass, z as assertAsyncStorageRegistered } from "./autoTrace-kHOBg49M.js";
4
4
  import { AsyncLocalStorage } from "async_hooks";
5
5
  //#region src/asyncStorageNode.ts
@@ -1,5 +1,5 @@
1
1
  const require_bamlPeer = require("./bamlPeer-5Ohpq8q9.cjs");
2
- const require_http = require("./http-k6ROO7LA.cjs");
2
+ const require_http = require("./http-BHgwaBjv.cjs");
3
3
  const require_autoTrace = require("./autoTrace-DPWV1Xzr.cjs");
4
4
  const require_optionalPeer = require("./optionalPeer-CUH756lt.cjs");
5
5
  let superjson = require("superjson");
@@ -5064,8 +5064,8 @@ var TracesClient = class {
5064
5064
  async getScenario(traceId) {
5065
5065
  return (await this.httpClient.get(traceScenarioPath(traceId))).scenario;
5066
5066
  }
5067
- async generateScenario(traceId) {
5068
- return (await this.httpClient.request(`${traceScenarioPath(traceId)}/generate`, {})).generation;
5067
+ async generateScenario(traceId, options = {}) {
5068
+ return (await this.httpClient.request(`${traceScenarioPath(traceId)}/generate`, options.regenerate === void 0 ? {} : { regenerate: options.regenerate })).generation;
5069
5069
  }
5070
5070
  async saveScenario({ traceId, ...edit }) {
5071
5071
  return (await this.httpClient.request(traceScenarioPath(traceId), withoutDataRecords(edit))).scenario;
@@ -7073,7 +7073,7 @@ var Bitfab = class {
7073
7073
  await runWithSeedContext({ traceId }, async () => target(...args));
7074
7074
  } finally {
7075
7075
  try {
7076
- const { flushTraces } = await Promise.resolve().then(() => require("./http-k6ROO7LA.cjs")).then((n) => n.http_exports);
7076
+ const { flushTraces } = await Promise.resolve().then(() => require("./http-BHgwaBjv.cjs")).then((n) => n.http_exports);
7077
7077
  await flushTraces(3e4);
7078
7078
  } finally {
7079
7079
  unrecorded = activeTraceStates.delete(traceId);
@@ -7279,7 +7279,7 @@ async function seedFromRegistry(registry, pipeline, cases, options = {}) {
7279
7279
  metadata: seedCase.metadata,
7280
7280
  sessionId: seedCase.sessionId
7281
7281
  }));
7282
- const { flushTraces } = await Promise.resolve().then(() => require("./http-k6ROO7LA.cjs")).then((n) => n.http_exports);
7282
+ const { flushTraces } = await Promise.resolve().then(() => require("./http-BHgwaBjv.cjs")).then((n) => n.http_exports);
7283
7283
  await flushTraces(3e4);
7284
7284
  return {
7285
7285
  pipeline,
@@ -7529,4 +7529,4 @@ Object.defineProperty(exports, "serializeReplayResult", {
7529
7529
  }
7530
7530
  });
7531
7531
 
7532
- //# sourceMappingURL=src-DVJRiYEl.cjs.map
7532
+ //# sourceMappingURL=src-KAtu1Cmn.cjs.map