@bitfab/sdk 0.76.8 → 0.77.0

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.
@@ -1738,6 +1738,14 @@ type TraceTarget = {
1738
1738
  occurrence?: TraceTargetOccurrence;
1739
1739
  };
1740
1740
  type TraceAssertionSource = "human" | "agent";
1741
+ /**
1742
+ * Who decides an assertion. `"bitfab"` (the default): Bitfab decides it on
1743
+ * every replay, with its code where it has some and the LLM judge otherwise.
1744
+ * `"external"`: Bitfab never judges it; your own system posts each verdict
1745
+ * with `verdicts.saveExternal`. An external assertion takes no code, and an
1746
+ * assertion's kind is set when it is created and never changes.
1747
+ */
1748
+ type AssertionKind = "bitfab" | "external";
1741
1749
  /**
1742
1750
  * Code that decides an assertion's verdict from a run's spans, or hands the
1743
1751
  * decision to the LLM judge.
@@ -1819,6 +1827,8 @@ type TraceAssertion = {
1819
1827
  * Code that decides this assertion on a replay or hands it to the LLM
1820
1828
  * judge, or null when the LLM judge decides every replay.
1821
1829
  */
1830
+ /** Who decides it: Bitfab, or your own system for an external assertion. */
1831
+ kind: AssertionKind;
1822
1832
  code: AssertionCode | null;
1823
1833
  /** Why the code could not run on a replay, or null while it runs. */
1824
1834
  codeBrokenReason: string | null;
@@ -1864,6 +1874,12 @@ type SaveAssertion = {
1864
1874
  passCriteria?: string | null;
1865
1875
  failCriteria?: string | null;
1866
1876
  targetOnEvaluatedTrace?: TraceTarget | null;
1877
+ /**
1878
+ * `"external"` to create an assertion Bitfab never judges, whose verdicts
1879
+ * your own system posts with `verdicts.saveExternal`. Only on the save that
1880
+ * creates the assertion: a different kind on an edit is refused, so omit it.
1881
+ */
1882
+ kind?: AssertionKind | null;
1867
1883
  /**
1868
1884
  * Code that decides the verdict or hands it to the LLM judge. Pass code to
1869
1885
  * set it, null to remove it, or omit it to keep the current code. It is run
@@ -2439,6 +2455,29 @@ type HumanVerdictOutcome = {
2439
2455
  label: boolean;
2440
2456
  action: "set";
2441
2457
  };
2458
+ /**
2459
+ * A verdict your own system decided for an external assertion: one created
2460
+ * with `kind: "external"`, which Bitfab never judges. It names only the
2461
+ * assertion; Bitfab finds the trace the assertion is on.
2462
+ */
2463
+ type ExternalVerdictUpdate = {
2464
+ assertionId: string;
2465
+ verdict: PassFailVerdict;
2466
+ /** With `experimentId`, on an experiment that ran each trace more than once: which attempt (0-based). Defaults to 0. */
2467
+ attempt?: number;
2468
+ annotation?: string;
2469
+ confidence?: VerdictConfidence;
2470
+ evidence?: Justification | null;
2471
+ };
2472
+ /** What the server did with one external assertion verdict. */
2473
+ type ExternalVerdictOutcome = {
2474
+ assertionId: string;
2475
+ /** The trace the verdict was saved on: the assertion's trace, or that trace's replay when `experimentId` was passed. */
2476
+ traceId: string;
2477
+ attempt: number;
2478
+ verdict: PassFailVerdict;
2479
+ action: "set";
2480
+ };
2442
2481
  /**
2443
2482
  * One span a saved verdict cites. `spanId` and `text` are always present.
2444
2483
  * Evidence written by Bitfab's assertion judge also carries `field`, `ranges`,
@@ -2485,6 +2524,13 @@ type AssertionVerdict = {
2485
2524
  evidence: VerdictEvidence | null;
2486
2525
  confidence: VerdictConfidence | null;
2487
2526
  approved: boolean;
2527
+ /**
2528
+ * True on the one verdict per assertion that counts toward the trace's
2529
+ * verdict and pass counts. An assertion can carry several, one per source:
2530
+ * a person's counts over a coding agent's, and a coding agent's over
2531
+ * Bitfab's judge's, which is then read back with `counted: false`.
2532
+ */
2533
+ counted: boolean;
2488
2534
  /** @deprecated Use {@link AssertionVerdict.verdictStatus}. */
2489
2535
  labelStatus: LabelStatus;
2490
2536
  /** @deprecated Use {@link AssertionVerdict.verdict}. False for both fail and abstained. */
@@ -2559,6 +2605,16 @@ declare class VerdictsClient {
2559
2605
  saveHuman(update: HumanVerdictUpdate): Promise<HumanVerdictOutcome>;
2560
2606
  /** Save many verdicts a person decided, in one all-or-nothing batch. */
2561
2607
  saveHumanAll(updates: HumanVerdictUpdate[]): Promise<HumanVerdictOutcome[]>;
2608
+ /**
2609
+ * Save one verdict for an external assertion, which Bitfab never judges.
2610
+ * It counts in every pass rate as soon as it is saved; a person's or an
2611
+ * agent's verdict on the same assertion still counts over it. Pass
2612
+ * `experimentId` to save it on that experiment's replay of the assertion's
2613
+ * trace instead.
2614
+ */
2615
+ saveExternal(update: ExternalVerdictUpdate, experimentId?: string): Promise<ExternalVerdictOutcome>;
2616
+ /** Save many external assertion verdicts in one all-or-nothing batch. */
2617
+ saveExternalAll(updates: ExternalVerdictUpdate[], experimentId?: string): Promise<ExternalVerdictOutcome[]>;
2562
2618
  /** Read one trace's verdicts, or null when the trace has none. */
2563
2619
  get(traceId: string): Promise<TraceVerdicts | null>;
2564
2620
  /** Read many traces' verdicts in one call. */
@@ -5731,7 +5787,7 @@ interface CommitRef {
5731
5787
  /**
5732
5788
  * SDK version from package.json (injected at build time)
5733
5789
  */
5734
- declare const __version__ = "0.76.8";
5790
+ declare const __version__ = "0.77.0";
5735
5791
  //#endregion
5736
5792
  //#region src/constants.d.ts
5737
5793
  /**
@@ -5873,4 +5929,4 @@ declare function seedFromRegistry(registry: ReplayRegistry, pipeline: string, ca
5873
5929
  run?: boolean;
5874
5930
  }): Promise<SeedResult>;
5875
5931
  //#endregion
5876
- export { SpanListParams as $, ScenarioHistoryEntry as $n, BitfabVercelAiHandler as $r, HumanVerdictOutcome as $t, SpanMethodDecoratorContext as A, MixedTracingError as Ai, AssertionLabelEvidence as An, ExperimentsClient as Ar, OrganizationMembersClient as At, WrapOpenAITranscriptionsOptions as B, BamlExecutionResult as Bi, SaveScenarioData as Bn, GraderRerunProgress as Br, GraderLabelOutcome as Bt, NodeMethodDecorator as C, MockOverrideInput as Ci, ArchiveAssertionsParams as Cn, ExperimentSummary as Cr, reportReplayProgress as Ct, SeedCaseOptions as D, NodeMatcher as Di, AssertionGenerationError as Dn, ExperimentSummaryResult as Dr, BitfabPiIntegration as Dt, ReseedResult as E, NO_MOCK_OVERRIDE as Ei, AssertionGeneration as En, ExperimentSummaryFacts as Er, ReplayInterruptSignal as Et, WrapGeminiOptions as F, ReplayNodeIdentity as Fi, GenerateScenarioOptions as Fn, DatasetGraderRef as Fr, LangGraphIntegrationOptions as Ft, getCurrentTrace as G, Assignee as Gi, ScenarioAction as Gn, RemoveDatasetGradersResult as Gr, GraderVerdictSource as Gt, WrappedBamlFn as H, ApprovalFields as Hi, SaveScenarioParams as Hn, GraderRerunStatus as Hr, GraderLabelUpdate as Ht, WrapJevOptions as I, SelectiveReplayDecision as Ii, SaveAssertion as In, DatasetTraceIds as Ir, BitfabLangGraphCallbackHandler as It, BitfabOpenAITracingProcessor as J, ScenarioData as Jn, RerunGradersResult as Jr, ArchiveLabelTarget as Jt, CaptureSurface as K, Justification as Ki, ScenarioActualOutcome as Kn, RemoveDatasetTracesResult as Kr, GraderVerdictUpdate as Kt, WrapOpenAIChatOptions as L, SelectiveReplayOptions as Li, SaveAssertionsAllParams as Ln, DatasetsClient as Lr, GetGraderLabelsParams as Lt, WrapAnthropicOptions as M, DbSnapshotProvider as Mi, AssertionRewriteStatus as Mn, AddDatasetGradersResult as Mr, BitfabAgentMiddleware as Mt, WrapBAMLOptions as N, DbSnapshotRef as Ni, AssertionVerdictEvidence as Nn, AddDatasetTracesResult as Nr, BitfabLangGraphAgent as Nt, SeedRunOptions as O, SpanNodeMeta as Oi, AssertionGenerationStatus as On, ExperimentTally as Or, PiIntegrationOptions as Ot, WrapGeminiEmbeddingsOptions as P, SUPPORTED_PROVIDERS as Pi, GenerateAssertionsOptions as Pn, Dataset as Pr, BitfabLangGraphIntegration as Pt, SpanListField as Q, ScenarioGeneration as Qn, BitfabLanguageModelMiddleware as Qr, HumanLabelUpdate as Qt, WrapOpenAIEmbeddingsOptions as R, SelectiveReplayReport as Ri, SaveAssertionsParams as Rn, GraderRerun as Rr, GetGraderVerdictsParams as Rt, DetachedTrace as S, MockOverrideCtx as Si, VerdictsClient as Sn, ExperimentStatus as Sr, TraceIngestionType as St, ReseedOptions as T, MockValue as Ti, AssertionEvidenceParameter as Tn, ExperimentSummaryExampleTrace as Tr, ReplayInterrupt as Tt, getCurrentReplayBranch as U, ApprovalState as Ui, SavedTraceAssertion as Un, GraderRerunTimeoutError as Ur, GraderVerdict as Ut, WrapOpenRouterOptions as V, ProviderDefinition as Vi, SaveScenarioHistoryEntry as Vn, GraderRerunResult as Vr, GraderLabelSource as Vt, getCurrentSpan as W, Approver as Wi, Scenario as Wn, ListDatasetsParams as Wr, GraderVerdictOutcome as Wt, TracingProcessor as X, ScenarioDataOrigin as Xn, SaveDatasetResult as Xr, AssertionVerdict as Xt, TraceResponse as Y, ScenarioDataAppend as Yn, SaveDatasetParams as Yr, ArchiveVerdictTarget as Yt, ListedSpan as Z, ScenarioDataSources as Zn, UpdateDatasetParams as Zr, HumanLabelOutcome as Zt, BitfabConfig as _, SpanType as _i, VerdictOutcome as _n, ExperimentJitter as _r, ReplayItemStartProgress as _t, ReplayRegistryOptions as a, AssertionCategory as ai, LabelStatus as an, TraceAssertionSource as ar, RivetIntegrationOptions as at, CurrentSpan as b, DbBranchTimings as bi, VerdictTarget as bn, ExperimentRollupResult as br, ReplayProgressItem as bt, SeedResult as c, Category as ci, LabelsClient as cn, TraceSearchFilters as cr, AdaptInputsFn as ct, seedFromRegistry as d, SaveCategoryParams as di, TraceVerdicts as dn, TraceTarget as dr, DbBranchReplayError as dt, VercelCallParams as ei, HumanVerdictUpdate as en, ScenarioRecord as er, SpanListResult as et, finalizers as f, CapturedSpan as fi, Verdict as fn, TraceTargetOccurrence as fr, MockStrategy as ft, Bitfab as g, SpanOccurrence as gi, VerdictEvidenceItem as gn, ExperimentCodeChangeTotals as gr, ReplayItemFinishProgress as gt, CommitRef as h, SpanLookup as hi, VerdictEvidence as hn, ExperimentCategoryTally as hr, ReplayItem as ht, ReplayRegistryContext as i, AssertionCategoriesClient as ii, LabelSource as in, TraceAssertion as ir, RivetEffectType as it, SpanOptions as j, DbSnapshotConfig as ji, AssertionRewrite as jn, ListExperimentsParams as jr, BitfabOpenAIAgentHandler as jt, SpanMethodDecorator as k, BitfabError as ki, AssertionGenerationTimeoutError as kn, ExperimentTotals as kr, OrganizationMember as kt, defineReplayRegistry as l, CategorySummary as li, PassFailVerdict as ln, TraceSearchParams as lr, BITFAB_PROGRESS_PREFIX as lt, __version__ as m, HttpClient as mi, VerdictConfidence as mn, Experiment as mr, ReplayExperiment as mt, ReplayRegistration as n, VercelStreamResult as ni, LabelConfidence as nn, ScenarioSource as nr, BitfabRivetIntegration as nt, ReseedRegistryResult as o, AssertionCategorySummary as oi, LabelTarget as on, TraceAssertionsResult as or, ReplayBranch as ot, DEFAULT_SERVICE_URL as p, CodeChangeFile as pi, VerdictAction as pn, TracesClient as pr, ReplayError as pt, ActiveSpanContext as q, JustificationSpan as qi, ScenarioCreationStatus as qn, RerunGradersOptions as qr, GradersClient as qt, ReplayRegistry as r, BitfabClaudeAgentHandler as ri, LabelOutcome as rn, ScenarioTrigger as rr, RivetContextLike as rt, SeedCase as s, CategoriesClient as si, LabelUpdate as sn, TraceAssertionsUpdate as sr, AdaptContext as st, ReplayOptionsFactory as t, VercelGenerateResult as ti, LabelAction as tn, ScenarioRecordInput as tr, SpansClient as tt, reseedFromRegistry as u, SaveAssertionCategoryParams as ui, TraceLabels as un, TraceSearchResult as ur, DbBranchOptions as ut, BitfabFunction as v, TokenUsage as vi, VerdictSource as vn, ExperimentPage as vr, ReplayOptions as vt, NodeOptions as w, MockOverrideResolver as wi, AssertionCode as wn, ExperimentSummaryBeforeAfter as wr, serializeReplayResult as wt, CurrentTrace as x, MockOverride as xi, VerdictUpdate as xn, ExperimentRunBy as xr, ReplayResult as xt, CaptureWhen as y, flushTraces as yi, VerdictStatus as yn, ExperimentRollup as yr, ReplayProgress as yt, WrapOpenAIResponsesOptions as z, AllowedEnvVars as zi, SaveScenarioActualOutcome as zn, GraderRerunError as zr, GraderLabel as zt };
5932
+ export { SpanListParams as $, ScenarioDataOrigin as $n, SaveDatasetResult as $r, HumanLabelOutcome as $t, SpanMethodDecoratorContext as A, NodeMatcher as Ai, AssertionGenerationStatus as An, ExperimentSummaryResult as Ar, OrganizationMembersClient as At, WrapOpenAITranscriptionsOptions as B, SelectiveReplayOptions as Bi, SaveAssertionsAllParams as Bn, DatasetsClient as Br, GraderLabelOutcome as Bt, NodeMethodDecorator as C, DbBranchTimings as Ci, VerdictUpdate as Cn, ExperimentRollupResult as Cr, reportReplayProgress as Ct, SeedCaseOptions as D, MockOverrideResolver as Di, AssertionEvidenceParameter as Dn, ExperimentSummaryBeforeAfter as Dr, BitfabPiIntegration as Dt, ReseedResult as E, MockOverrideInput as Ei, AssertionCode as En, ExperimentSummary as Er, ReplayInterruptSignal as Et, WrapGeminiOptions as F, DbSnapshotProvider as Fi, AssertionRewriteStatus as Fn, AddDatasetGradersResult as Fr, LangGraphIntegrationOptions as Ft, getCurrentTrace as G, ApprovalFields as Gi, SaveScenarioParams as Gn, GraderRerunStatus as Gr, GraderVerdictSource as Gt, WrappedBamlFn as H, AllowedEnvVars as Hi, SaveScenarioActualOutcome as Hn, GraderRerunError as Hr, GraderLabelUpdate as Ht, WrapJevOptions as I, DbSnapshotRef as Ii, AssertionVerdictEvidence as In, AddDatasetTracesResult as Ir, BitfabLangGraphCallbackHandler as It, BitfabOpenAITracingProcessor as J, Assignee as Ji, ScenarioAction as Jn, RemoveDatasetGradersResult as Jr, ArchiveLabelTarget as Jt, CaptureSurface as K, ApprovalState as Ki, SavedTraceAssertion as Kn, GraderRerunTimeoutError as Kr, GraderVerdictUpdate as Kt, WrapOpenAIChatOptions as L, SUPPORTED_PROVIDERS as Li, GenerateAssertionsOptions as Ln, Dataset as Lr, GetGraderLabelsParams as Lt, WrapAnthropicOptions as M, BitfabError as Mi, AssertionKind as Mn, ExperimentTotals as Mr, BitfabAgentMiddleware as Mt, WrapBAMLOptions as N, MixedTracingError as Ni, AssertionLabelEvidence as Nn, ExperimentsClient as Nr, BitfabLangGraphAgent as Nt, SeedRunOptions as O, MockValue as Oi, AssertionGeneration as On, ExperimentSummaryExampleTrace as Or, PiIntegrationOptions as Ot, WrapGeminiEmbeddingsOptions as P, DbSnapshotConfig as Pi, AssertionRewrite as Pn, ListExperimentsParams as Pr, BitfabLangGraphIntegration as Pt, SpanListField as Q, ScenarioDataAppend as Qn, SaveDatasetParams as Qr, ExternalVerdictUpdate as Qt, WrapOpenAIEmbeddingsOptions as R, ReplayNodeIdentity as Ri, GenerateScenarioOptions as Rn, DatasetGraderRef as Rr, GetGraderVerdictsParams as Rt, DetachedTrace as S, flushTraces as Si, VerdictTarget as Sn, ExperimentRollup as Sr, TraceIngestionType as St, ReseedOptions as T, MockOverrideCtx as Ti, ArchiveAssertionsParams as Tn, ExperimentStatus as Tr, ReplayInterrupt as Tt, getCurrentReplayBranch as U, BamlExecutionResult as Ui, SaveScenarioData as Un, GraderRerunProgress as Ur, GraderVerdict as Ut, WrapOpenRouterOptions as V, SelectiveReplayReport as Vi, SaveAssertionsParams as Vn, GraderRerun as Vr, GraderLabelSource as Vt, getCurrentSpan as W, ProviderDefinition as Wi, SaveScenarioHistoryEntry as Wn, GraderRerunResult as Wr, GraderVerdictOutcome as Wt, TracingProcessor as X, JustificationSpan as Xi, ScenarioCreationStatus as Xn, RerunGradersOptions as Xr, AssertionVerdict as Xt, TraceResponse as Y, Justification as Yi, ScenarioActualOutcome as Yn, RemoveDatasetTracesResult as Yr, ArchiveVerdictTarget as Yt, ListedSpan as Z, ScenarioData as Zn, RerunGradersResult as Zr, ExternalVerdictOutcome as Zt, BitfabConfig as _, HttpClient as _i, VerdictEvidence as _n, Experiment as _r, ReplayItemStartProgress as _t, ReplayRegistryOptions as a, VercelStreamResult as ai, LabelOutcome as an, ScenarioSource as ar, RivetIntegrationOptions as at, CurrentSpan as b, SpanType as bi, VerdictSource as bn, ExperimentJitter as br, ReplayProgressItem as bt, SeedResult as c, AssertionCategory as ci, LabelTarget as cn, TraceAssertionSource as cr, AdaptInputsFn as ct, seedFromRegistry as d, Category as di, PassFailVerdict as dn, TraceSearchFilters as dr, DbBranchReplayError as dt, UpdateDatasetParams as ei, HumanLabelUpdate as en, ScenarioDataSources as er, SpanListResult as et, finalizers as f, CategorySummary as fi, TraceLabels as fn, TraceSearchParams as fr, MockStrategy as ft, Bitfab as g, CodeChangeFile as gi, VerdictConfidence as gn, TracesClient as gr, ReplayItemFinishProgress as gt, CommitRef as h, CapturedSpan as hi, VerdictAction as hn, TraceTargetOccurrence as hr, ReplayItem as ht, ReplayRegistryContext as i, VercelGenerateResult as ii, LabelConfidence as in, ScenarioRecordInput as ir, RivetEffectType as it, SpanOptions as j, SpanNodeMeta as ji, AssertionGenerationTimeoutError as jn, ExperimentTally as jr, BitfabOpenAIAgentHandler as jt, SpanMethodDecorator as k, NO_MOCK_OVERRIDE as ki, AssertionGenerationError as kn, ExperimentSummaryFacts as kr, OrganizationMember as kt, defineReplayRegistry as l, AssertionCategorySummary as li, LabelUpdate as ln, TraceAssertionsResult as lr, BITFAB_PROGRESS_PREFIX as lt, __version__ as m, SaveCategoryParams as mi, Verdict as mn, TraceTarget as mr, ReplayExperiment as mt, ReplayRegistration as n, BitfabVercelAiHandler as ni, HumanVerdictUpdate as nn, ScenarioHistoryEntry as nr, BitfabRivetIntegration as nt, ReseedRegistryResult as o, BitfabClaudeAgentHandler as oi, LabelSource as on, ScenarioTrigger as or, ReplayBranch as ot, DEFAULT_SERVICE_URL as p, SaveAssertionCategoryParams as pi, TraceVerdicts as pn, TraceSearchResult as pr, ReplayError as pt, ActiveSpanContext as q, Approver as qi, Scenario as qn, ListDatasetsParams as qr, GradersClient as qt, ReplayRegistry as r, VercelCallParams as ri, LabelAction as rn, ScenarioRecord as rr, RivetContextLike as rt, SeedCase as s, AssertionCategoriesClient as si, LabelStatus as sn, TraceAssertion as sr, AdaptContext as st, ReplayOptionsFactory as t, BitfabLanguageModelMiddleware as ti, HumanVerdictOutcome as tn, ScenarioGeneration as tr, SpansClient as tt, reseedFromRegistry as u, CategoriesClient as ui, LabelsClient as un, TraceAssertionsUpdate as ur, DbBranchOptions as ut, BitfabFunction as v, SpanLookup as vi, VerdictEvidenceItem as vn, ExperimentCategoryTally as vr, ReplayOptions as vt, NodeOptions as w, MockOverride as wi, VerdictsClient as wn, ExperimentRunBy as wr, serializeReplayResult as wt, CurrentTrace as x, TokenUsage as xi, VerdictStatus as xn, ExperimentPage as xr, ReplayResult as xt, CaptureWhen as y, SpanOccurrence as yi, VerdictOutcome as yn, ExperimentCodeChangeTotals as yr, ReplayProgress as yt, WrapOpenAIResponsesOptions as z, SelectiveReplayDecision as zi, SaveAssertion as zn, DatasetTraceIds as zr, GraderLabel as zt };
@@ -1738,6 +1738,14 @@ type TraceTarget = {
1738
1738
  occurrence?: TraceTargetOccurrence;
1739
1739
  };
1740
1740
  type TraceAssertionSource = "human" | "agent";
1741
+ /**
1742
+ * Who decides an assertion. `"bitfab"` (the default): Bitfab decides it on
1743
+ * every replay, with its code where it has some and the LLM judge otherwise.
1744
+ * `"external"`: Bitfab never judges it; your own system posts each verdict
1745
+ * with `verdicts.saveExternal`. An external assertion takes no code, and an
1746
+ * assertion's kind is set when it is created and never changes.
1747
+ */
1748
+ type AssertionKind = "bitfab" | "external";
1741
1749
  /**
1742
1750
  * Code that decides an assertion's verdict from a run's spans, or hands the
1743
1751
  * decision to the LLM judge.
@@ -1819,6 +1827,8 @@ type TraceAssertion = {
1819
1827
  * Code that decides this assertion on a replay or hands it to the LLM
1820
1828
  * judge, or null when the LLM judge decides every replay.
1821
1829
  */
1830
+ /** Who decides it: Bitfab, or your own system for an external assertion. */
1831
+ kind: AssertionKind;
1822
1832
  code: AssertionCode | null;
1823
1833
  /** Why the code could not run on a replay, or null while it runs. */
1824
1834
  codeBrokenReason: string | null;
@@ -1864,6 +1874,12 @@ type SaveAssertion = {
1864
1874
  passCriteria?: string | null;
1865
1875
  failCriteria?: string | null;
1866
1876
  targetOnEvaluatedTrace?: TraceTarget | null;
1877
+ /**
1878
+ * `"external"` to create an assertion Bitfab never judges, whose verdicts
1879
+ * your own system posts with `verdicts.saveExternal`. Only on the save that
1880
+ * creates the assertion: a different kind on an edit is refused, so omit it.
1881
+ */
1882
+ kind?: AssertionKind | null;
1867
1883
  /**
1868
1884
  * Code that decides the verdict or hands it to the LLM judge. Pass code to
1869
1885
  * set it, null to remove it, or omit it to keep the current code. It is run
@@ -2439,6 +2455,29 @@ type HumanVerdictOutcome = {
2439
2455
  label: boolean;
2440
2456
  action: "set";
2441
2457
  };
2458
+ /**
2459
+ * A verdict your own system decided for an external assertion: one created
2460
+ * with `kind: "external"`, which Bitfab never judges. It names only the
2461
+ * assertion; Bitfab finds the trace the assertion is on.
2462
+ */
2463
+ type ExternalVerdictUpdate = {
2464
+ assertionId: string;
2465
+ verdict: PassFailVerdict;
2466
+ /** With `experimentId`, on an experiment that ran each trace more than once: which attempt (0-based). Defaults to 0. */
2467
+ attempt?: number;
2468
+ annotation?: string;
2469
+ confidence?: VerdictConfidence;
2470
+ evidence?: Justification | null;
2471
+ };
2472
+ /** What the server did with one external assertion verdict. */
2473
+ type ExternalVerdictOutcome = {
2474
+ assertionId: string;
2475
+ /** The trace the verdict was saved on: the assertion's trace, or that trace's replay when `experimentId` was passed. */
2476
+ traceId: string;
2477
+ attempt: number;
2478
+ verdict: PassFailVerdict;
2479
+ action: "set";
2480
+ };
2442
2481
  /**
2443
2482
  * One span a saved verdict cites. `spanId` and `text` are always present.
2444
2483
  * Evidence written by Bitfab's assertion judge also carries `field`, `ranges`,
@@ -2485,6 +2524,13 @@ type AssertionVerdict = {
2485
2524
  evidence: VerdictEvidence | null;
2486
2525
  confidence: VerdictConfidence | null;
2487
2526
  approved: boolean;
2527
+ /**
2528
+ * True on the one verdict per assertion that counts toward the trace's
2529
+ * verdict and pass counts. An assertion can carry several, one per source:
2530
+ * a person's counts over a coding agent's, and a coding agent's over
2531
+ * Bitfab's judge's, which is then read back with `counted: false`.
2532
+ */
2533
+ counted: boolean;
2488
2534
  /** @deprecated Use {@link AssertionVerdict.verdictStatus}. */
2489
2535
  labelStatus: LabelStatus;
2490
2536
  /** @deprecated Use {@link AssertionVerdict.verdict}. False for both fail and abstained. */
@@ -2559,6 +2605,16 @@ declare class VerdictsClient {
2559
2605
  saveHuman(update: HumanVerdictUpdate): Promise<HumanVerdictOutcome>;
2560
2606
  /** Save many verdicts a person decided, in one all-or-nothing batch. */
2561
2607
  saveHumanAll(updates: HumanVerdictUpdate[]): Promise<HumanVerdictOutcome[]>;
2608
+ /**
2609
+ * Save one verdict for an external assertion, which Bitfab never judges.
2610
+ * It counts in every pass rate as soon as it is saved; a person's or an
2611
+ * agent's verdict on the same assertion still counts over it. Pass
2612
+ * `experimentId` to save it on that experiment's replay of the assertion's
2613
+ * trace instead.
2614
+ */
2615
+ saveExternal(update: ExternalVerdictUpdate, experimentId?: string): Promise<ExternalVerdictOutcome>;
2616
+ /** Save many external assertion verdicts in one all-or-nothing batch. */
2617
+ saveExternalAll(updates: ExternalVerdictUpdate[], experimentId?: string): Promise<ExternalVerdictOutcome[]>;
2562
2618
  /** Read one trace's verdicts, or null when the trace has none. */
2563
2619
  get(traceId: string): Promise<TraceVerdicts | null>;
2564
2620
  /** Read many traces' verdicts in one call. */
@@ -5731,7 +5787,7 @@ interface CommitRef {
5731
5787
  /**
5732
5788
  * SDK version from package.json (injected at build time)
5733
5789
  */
5734
- declare const __version__ = "0.76.8";
5790
+ declare const __version__ = "0.77.0";
5735
5791
  //#endregion
5736
5792
  //#region src/constants.d.ts
5737
5793
  /**
@@ -5873,4 +5929,4 @@ declare function seedFromRegistry(registry: ReplayRegistry, pipeline: string, ca
5873
5929
  run?: boolean;
5874
5930
  }): Promise<SeedResult>;
5875
5931
  //#endregion
5876
- export { SpanListParams as $, ScenarioHistoryEntry as $n, BitfabVercelAiHandler as $r, HumanVerdictOutcome as $t, SpanMethodDecoratorContext as A, MixedTracingError as Ai, AssertionLabelEvidence as An, ExperimentsClient as Ar, OrganizationMembersClient as At, WrapOpenAITranscriptionsOptions as B, BamlExecutionResult as Bi, SaveScenarioData as Bn, GraderRerunProgress as Br, GraderLabelOutcome as Bt, NodeMethodDecorator as C, MockOverrideInput as Ci, ArchiveAssertionsParams as Cn, ExperimentSummary as Cr, reportReplayProgress as Ct, SeedCaseOptions as D, NodeMatcher as Di, AssertionGenerationError as Dn, ExperimentSummaryResult as Dr, BitfabPiIntegration as Dt, ReseedResult as E, NO_MOCK_OVERRIDE as Ei, AssertionGeneration as En, ExperimentSummaryFacts as Er, ReplayInterruptSignal as Et, WrapGeminiOptions as F, ReplayNodeIdentity as Fi, GenerateScenarioOptions as Fn, DatasetGraderRef as Fr, LangGraphIntegrationOptions as Ft, getCurrentTrace as G, Assignee as Gi, ScenarioAction as Gn, RemoveDatasetGradersResult as Gr, GraderVerdictSource as Gt, WrappedBamlFn as H, ApprovalFields as Hi, SaveScenarioParams as Hn, GraderRerunStatus as Hr, GraderLabelUpdate as Ht, WrapJevOptions as I, SelectiveReplayDecision as Ii, SaveAssertion as In, DatasetTraceIds as Ir, BitfabLangGraphCallbackHandler as It, BitfabOpenAITracingProcessor as J, ScenarioData as Jn, RerunGradersResult as Jr, ArchiveLabelTarget as Jt, CaptureSurface as K, Justification as Ki, ScenarioActualOutcome as Kn, RemoveDatasetTracesResult as Kr, GraderVerdictUpdate as Kt, WrapOpenAIChatOptions as L, SelectiveReplayOptions as Li, SaveAssertionsAllParams as Ln, DatasetsClient as Lr, GetGraderLabelsParams as Lt, WrapAnthropicOptions as M, DbSnapshotProvider as Mi, AssertionRewriteStatus as Mn, AddDatasetGradersResult as Mr, BitfabAgentMiddleware as Mt, WrapBAMLOptions as N, DbSnapshotRef as Ni, AssertionVerdictEvidence as Nn, AddDatasetTracesResult as Nr, BitfabLangGraphAgent as Nt, SeedRunOptions as O, SpanNodeMeta as Oi, AssertionGenerationStatus as On, ExperimentTally as Or, PiIntegrationOptions as Ot, WrapGeminiEmbeddingsOptions as P, SUPPORTED_PROVIDERS as Pi, GenerateAssertionsOptions as Pn, Dataset as Pr, BitfabLangGraphIntegration as Pt, SpanListField as Q, ScenarioGeneration as Qn, BitfabLanguageModelMiddleware as Qr, HumanLabelUpdate as Qt, WrapOpenAIEmbeddingsOptions as R, SelectiveReplayReport as Ri, SaveAssertionsParams as Rn, GraderRerun as Rr, GetGraderVerdictsParams as Rt, DetachedTrace as S, MockOverrideCtx as Si, VerdictsClient as Sn, ExperimentStatus as Sr, TraceIngestionType as St, ReseedOptions as T, MockValue as Ti, AssertionEvidenceParameter as Tn, ExperimentSummaryExampleTrace as Tr, ReplayInterrupt as Tt, getCurrentReplayBranch as U, ApprovalState as Ui, SavedTraceAssertion as Un, GraderRerunTimeoutError as Ur, GraderVerdict as Ut, WrapOpenRouterOptions as V, ProviderDefinition as Vi, SaveScenarioHistoryEntry as Vn, GraderRerunResult as Vr, GraderLabelSource as Vt, getCurrentSpan as W, Approver as Wi, Scenario as Wn, ListDatasetsParams as Wr, GraderVerdictOutcome as Wt, TracingProcessor as X, ScenarioDataOrigin as Xn, SaveDatasetResult as Xr, AssertionVerdict as Xt, TraceResponse as Y, ScenarioDataAppend as Yn, SaveDatasetParams as Yr, ArchiveVerdictTarget as Yt, ListedSpan as Z, ScenarioDataSources as Zn, UpdateDatasetParams as Zr, HumanLabelOutcome as Zt, BitfabConfig as _, SpanType as _i, VerdictOutcome as _n, ExperimentJitter as _r, ReplayItemStartProgress as _t, ReplayRegistryOptions as a, AssertionCategory as ai, LabelStatus as an, TraceAssertionSource as ar, RivetIntegrationOptions as at, CurrentSpan as b, DbBranchTimings as bi, VerdictTarget as bn, ExperimentRollupResult as br, ReplayProgressItem as bt, SeedResult as c, Category as ci, LabelsClient as cn, TraceSearchFilters as cr, AdaptInputsFn as ct, seedFromRegistry as d, SaveCategoryParams as di, TraceVerdicts as dn, TraceTarget as dr, DbBranchReplayError as dt, VercelCallParams as ei, HumanVerdictUpdate as en, ScenarioRecord as er, SpanListResult as et, finalizers as f, CapturedSpan as fi, Verdict as fn, TraceTargetOccurrence as fr, MockStrategy as ft, Bitfab as g, SpanOccurrence as gi, VerdictEvidenceItem as gn, ExperimentCodeChangeTotals as gr, ReplayItemFinishProgress as gt, CommitRef as h, SpanLookup as hi, VerdictEvidence as hn, ExperimentCategoryTally as hr, ReplayItem as ht, ReplayRegistryContext as i, AssertionCategoriesClient as ii, LabelSource as in, TraceAssertion as ir, RivetEffectType as it, SpanOptions as j, DbSnapshotConfig as ji, AssertionRewrite as jn, ListExperimentsParams as jr, BitfabOpenAIAgentHandler as jt, SpanMethodDecorator as k, BitfabError as ki, AssertionGenerationTimeoutError as kn, ExperimentTotals as kr, OrganizationMember as kt, defineReplayRegistry as l, CategorySummary as li, PassFailVerdict as ln, TraceSearchParams as lr, BITFAB_PROGRESS_PREFIX as lt, __version__ as m, HttpClient as mi, VerdictConfidence as mn, Experiment as mr, ReplayExperiment as mt, ReplayRegistration as n, VercelStreamResult as ni, LabelConfidence as nn, ScenarioSource as nr, BitfabRivetIntegration as nt, ReseedRegistryResult as o, AssertionCategorySummary as oi, LabelTarget as on, TraceAssertionsResult as or, ReplayBranch as ot, DEFAULT_SERVICE_URL as p, CodeChangeFile as pi, VerdictAction as pn, TracesClient as pr, ReplayError as pt, ActiveSpanContext as q, JustificationSpan as qi, ScenarioCreationStatus as qn, RerunGradersOptions as qr, GradersClient as qt, ReplayRegistry as r, BitfabClaudeAgentHandler as ri, LabelOutcome as rn, ScenarioTrigger as rr, RivetContextLike as rt, SeedCase as s, CategoriesClient as si, LabelUpdate as sn, TraceAssertionsUpdate as sr, AdaptContext as st, ReplayOptionsFactory as t, VercelGenerateResult as ti, LabelAction as tn, ScenarioRecordInput as tr, SpansClient as tt, reseedFromRegistry as u, SaveAssertionCategoryParams as ui, TraceLabels as un, TraceSearchResult as ur, DbBranchOptions as ut, BitfabFunction as v, TokenUsage as vi, VerdictSource as vn, ExperimentPage as vr, ReplayOptions as vt, NodeOptions as w, MockOverrideResolver as wi, AssertionCode as wn, ExperimentSummaryBeforeAfter as wr, serializeReplayResult as wt, CurrentTrace as x, MockOverride as xi, VerdictUpdate as xn, ExperimentRunBy as xr, ReplayResult as xt, CaptureWhen as y, flushTraces as yi, VerdictStatus as yn, ExperimentRollup as yr, ReplayProgress as yt, WrapOpenAIResponsesOptions as z, AllowedEnvVars as zi, SaveScenarioActualOutcome as zn, GraderRerunError as zr, GraderLabel as zt };
5932
+ export { SpanListParams as $, ScenarioDataOrigin as $n, SaveDatasetResult as $r, HumanLabelOutcome as $t, SpanMethodDecoratorContext as A, NodeMatcher as Ai, AssertionGenerationStatus as An, ExperimentSummaryResult as Ar, OrganizationMembersClient as At, WrapOpenAITranscriptionsOptions as B, SelectiveReplayOptions as Bi, SaveAssertionsAllParams as Bn, DatasetsClient as Br, GraderLabelOutcome as Bt, NodeMethodDecorator as C, DbBranchTimings as Ci, VerdictUpdate as Cn, ExperimentRollupResult as Cr, reportReplayProgress as Ct, SeedCaseOptions as D, MockOverrideResolver as Di, AssertionEvidenceParameter as Dn, ExperimentSummaryBeforeAfter as Dr, BitfabPiIntegration as Dt, ReseedResult as E, MockOverrideInput as Ei, AssertionCode as En, ExperimentSummary as Er, ReplayInterruptSignal as Et, WrapGeminiOptions as F, DbSnapshotProvider as Fi, AssertionRewriteStatus as Fn, AddDatasetGradersResult as Fr, LangGraphIntegrationOptions as Ft, getCurrentTrace as G, ApprovalFields as Gi, SaveScenarioParams as Gn, GraderRerunStatus as Gr, GraderVerdictSource as Gt, WrappedBamlFn as H, AllowedEnvVars as Hi, SaveScenarioActualOutcome as Hn, GraderRerunError as Hr, GraderLabelUpdate as Ht, WrapJevOptions as I, DbSnapshotRef as Ii, AssertionVerdictEvidence as In, AddDatasetTracesResult as Ir, BitfabLangGraphCallbackHandler as It, BitfabOpenAITracingProcessor as J, Assignee as Ji, ScenarioAction as Jn, RemoveDatasetGradersResult as Jr, ArchiveLabelTarget as Jt, CaptureSurface as K, ApprovalState as Ki, SavedTraceAssertion as Kn, GraderRerunTimeoutError as Kr, GraderVerdictUpdate as Kt, WrapOpenAIChatOptions as L, SUPPORTED_PROVIDERS as Li, GenerateAssertionsOptions as Ln, Dataset as Lr, GetGraderLabelsParams as Lt, WrapAnthropicOptions as M, BitfabError as Mi, AssertionKind as Mn, ExperimentTotals as Mr, BitfabAgentMiddleware as Mt, WrapBAMLOptions as N, MixedTracingError as Ni, AssertionLabelEvidence as Nn, ExperimentsClient as Nr, BitfabLangGraphAgent as Nt, SeedRunOptions as O, MockValue as Oi, AssertionGeneration as On, ExperimentSummaryExampleTrace as Or, PiIntegrationOptions as Ot, WrapGeminiEmbeddingsOptions as P, DbSnapshotConfig as Pi, AssertionRewrite as Pn, ListExperimentsParams as Pr, BitfabLangGraphIntegration as Pt, SpanListField as Q, ScenarioDataAppend as Qn, SaveDatasetParams as Qr, ExternalVerdictUpdate as Qt, WrapOpenAIEmbeddingsOptions as R, ReplayNodeIdentity as Ri, GenerateScenarioOptions as Rn, DatasetGraderRef as Rr, GetGraderVerdictsParams as Rt, DetachedTrace as S, flushTraces as Si, VerdictTarget as Sn, ExperimentRollup as Sr, TraceIngestionType as St, ReseedOptions as T, MockOverrideCtx as Ti, ArchiveAssertionsParams as Tn, ExperimentStatus as Tr, ReplayInterrupt as Tt, getCurrentReplayBranch as U, BamlExecutionResult as Ui, SaveScenarioData as Un, GraderRerunProgress as Ur, GraderVerdict as Ut, WrapOpenRouterOptions as V, SelectiveReplayReport as Vi, SaveAssertionsParams as Vn, GraderRerun as Vr, GraderLabelSource as Vt, getCurrentSpan as W, ProviderDefinition as Wi, SaveScenarioHistoryEntry as Wn, GraderRerunResult as Wr, GraderVerdictOutcome as Wt, TracingProcessor as X, JustificationSpan as Xi, ScenarioCreationStatus as Xn, RerunGradersOptions as Xr, AssertionVerdict as Xt, TraceResponse as Y, Justification as Yi, ScenarioActualOutcome as Yn, RemoveDatasetTracesResult as Yr, ArchiveVerdictTarget as Yt, ListedSpan as Z, ScenarioData as Zn, RerunGradersResult as Zr, ExternalVerdictOutcome as Zt, BitfabConfig as _, HttpClient as _i, VerdictEvidence as _n, Experiment as _r, ReplayItemStartProgress as _t, ReplayRegistryOptions as a, VercelStreamResult as ai, LabelOutcome as an, ScenarioSource as ar, RivetIntegrationOptions as at, CurrentSpan as b, SpanType as bi, VerdictSource as bn, ExperimentJitter as br, ReplayProgressItem as bt, SeedResult as c, AssertionCategory as ci, LabelTarget as cn, TraceAssertionSource as cr, AdaptInputsFn as ct, seedFromRegistry as d, Category as di, PassFailVerdict as dn, TraceSearchFilters as dr, DbBranchReplayError as dt, UpdateDatasetParams as ei, HumanLabelUpdate as en, ScenarioDataSources as er, SpanListResult as et, finalizers as f, CategorySummary as fi, TraceLabels as fn, TraceSearchParams as fr, MockStrategy as ft, Bitfab as g, CodeChangeFile as gi, VerdictConfidence as gn, TracesClient as gr, ReplayItemFinishProgress as gt, CommitRef as h, CapturedSpan as hi, VerdictAction as hn, TraceTargetOccurrence as hr, ReplayItem as ht, ReplayRegistryContext as i, VercelGenerateResult as ii, LabelConfidence as in, ScenarioRecordInput as ir, RivetEffectType as it, SpanOptions as j, SpanNodeMeta as ji, AssertionGenerationTimeoutError as jn, ExperimentTally as jr, BitfabOpenAIAgentHandler as jt, SpanMethodDecorator as k, NO_MOCK_OVERRIDE as ki, AssertionGenerationError as kn, ExperimentSummaryFacts as kr, OrganizationMember as kt, defineReplayRegistry as l, AssertionCategorySummary as li, LabelUpdate as ln, TraceAssertionsResult as lr, BITFAB_PROGRESS_PREFIX as lt, __version__ as m, SaveCategoryParams as mi, Verdict as mn, TraceTarget as mr, ReplayExperiment as mt, ReplayRegistration as n, BitfabVercelAiHandler as ni, HumanVerdictUpdate as nn, ScenarioHistoryEntry as nr, BitfabRivetIntegration as nt, ReseedRegistryResult as o, BitfabClaudeAgentHandler as oi, LabelSource as on, ScenarioTrigger as or, ReplayBranch as ot, DEFAULT_SERVICE_URL as p, SaveAssertionCategoryParams as pi, TraceVerdicts as pn, TraceSearchResult as pr, ReplayError as pt, ActiveSpanContext as q, Approver as qi, Scenario as qn, ListDatasetsParams as qr, GradersClient as qt, ReplayRegistry as r, VercelCallParams as ri, LabelAction as rn, ScenarioRecord as rr, RivetContextLike as rt, SeedCase as s, AssertionCategoriesClient as si, LabelStatus as sn, TraceAssertion as sr, AdaptContext as st, ReplayOptionsFactory as t, BitfabLanguageModelMiddleware as ti, HumanVerdictOutcome as tn, ScenarioGeneration as tr, SpansClient as tt, reseedFromRegistry as u, CategoriesClient as ui, LabelsClient as un, TraceAssertionsUpdate as ur, DbBranchOptions as ut, BitfabFunction as v, SpanLookup as vi, VerdictEvidenceItem as vn, ExperimentCategoryTally as vr, ReplayOptions as vt, NodeOptions as w, MockOverride as wi, VerdictsClient as wn, ExperimentRunBy as wr, serializeReplayResult as wt, CurrentTrace as x, TokenUsage as xi, VerdictStatus as xn, ExperimentPage as xr, ReplayResult as xt, CaptureWhen as y, SpanOccurrence as yi, VerdictOutcome as yn, ExperimentCodeChangeTotals as yr, ReplayProgress as yt, WrapOpenAIResponsesOptions as z, SelectiveReplayDecision as zi, SaveAssertion as zn, DatasetTraceIds as zr, GraderLabel 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-D3bpLZ98.cjs");
6
- const require_http = require("./http-E8Qa7I4v.cjs");
5
+ const require_src = require("./src-D-3u3oXH.cjs");
6
+ const require_http = require("./http-Bt8-MEJA.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 SpanListParams, $n as ScenarioHistoryEntry, $r as BitfabVercelAiHandler, $t as HumanVerdictOutcome, A as SpanMethodDecoratorContext, Ai as MixedTracingError, An as AssertionLabelEvidence, Ar as ExperimentsClient, At as OrganizationMembersClient, B as WrapOpenAITranscriptionsOptions, Bi as BamlExecutionResult, Bn as SaveScenarioData, Br as GraderRerunProgress, Bt as GraderLabelOutcome, C as NodeMethodDecorator, Ci as MockOverrideInput, Cn as ArchiveAssertionsParams, Cr as ExperimentSummary, Ct as reportReplayProgress, D as SeedCaseOptions, Di as NodeMatcher, Dn as AssertionGenerationError, Dr as ExperimentSummaryResult, Dt as BitfabPiIntegration, E as ReseedResult, Ei as NO_MOCK_OVERRIDE, En as AssertionGeneration, Er as ExperimentSummaryFacts, Et as ReplayInterruptSignal, F as WrapGeminiOptions, Fi as ReplayNodeIdentity, Fn as GenerateScenarioOptions, Fr as DatasetGraderRef, Ft as LangGraphIntegrationOptions, G as getCurrentTrace, Gi as Assignee, Gn as ScenarioAction, Gr as RemoveDatasetGradersResult, Gt as GraderVerdictSource, H as WrappedBamlFn, Hi as ApprovalFields, Hn as SaveScenarioParams, Hr as GraderRerunStatus, Ht as GraderLabelUpdate, I as WrapJevOptions, Ii as SelectiveReplayDecision, In as SaveAssertion, Ir as DatasetTraceIds, It as BitfabLangGraphCallbackHandler, J as BitfabOpenAITracingProcessor, Jn as ScenarioData, Jr as RerunGradersResult, Jt as ArchiveLabelTarget, K as CaptureSurface, Ki as Justification, Kn as ScenarioActualOutcome, Kr as RemoveDatasetTracesResult, Kt as GraderVerdictUpdate, L as WrapOpenAIChatOptions, Li as SelectiveReplayOptions, Ln as SaveAssertionsAllParams, Lr as DatasetsClient, Lt as GetGraderLabelsParams, M as WrapAnthropicOptions, Mi as DbSnapshotProvider, Mn as AssertionRewriteStatus, Mr as AddDatasetGradersResult, Mt as BitfabAgentMiddleware, N as WrapBAMLOptions, Ni as DbSnapshotRef, Nn as AssertionVerdictEvidence, Nr as AddDatasetTracesResult, Nt as BitfabLangGraphAgent, O as SeedRunOptions, Oi as SpanNodeMeta, On as AssertionGenerationStatus, Or as ExperimentTally, Ot as PiIntegrationOptions, P as WrapGeminiEmbeddingsOptions, Pi as SUPPORTED_PROVIDERS, Pn as GenerateAssertionsOptions, Pr as Dataset, Pt as BitfabLangGraphIntegration, Q as SpanListField, Qn as ScenarioGeneration, Qr as BitfabLanguageModelMiddleware, Qt as HumanLabelUpdate, R as WrapOpenAIEmbeddingsOptions, Ri as SelectiveReplayReport, Rn as SaveAssertionsParams, Rr as GraderRerun, Rt as GetGraderVerdictsParams, S as DetachedTrace, Si as MockOverrideCtx, Sn as VerdictsClient, Sr as ExperimentStatus, St as TraceIngestionType, T as ReseedOptions, Ti as MockValue, Tn as AssertionEvidenceParameter, Tr as ExperimentSummaryExampleTrace, Tt as ReplayInterrupt, U as getCurrentReplayBranch, Ui as ApprovalState, Un as SavedTraceAssertion, Ur as GraderRerunTimeoutError, Ut as GraderVerdict, V as WrapOpenRouterOptions, Vi as ProviderDefinition, Vn as SaveScenarioHistoryEntry, Vr as GraderRerunResult, Vt as GraderLabelSource, W as getCurrentSpan, Wi as Approver, Wn as Scenario, Wr as ListDatasetsParams, Wt as GraderVerdictOutcome, X as TracingProcessor, Xn as ScenarioDataOrigin, Xr as SaveDatasetResult, Xt as AssertionVerdict, Y as TraceResponse, Yn as ScenarioDataAppend, Yr as SaveDatasetParams, Yt as ArchiveVerdictTarget, Z as ListedSpan, Zn as ScenarioDataSources, Zr as UpdateDatasetParams, Zt as HumanLabelOutcome, _ as BitfabConfig, _i as SpanType, _n as VerdictOutcome, _r as ExperimentJitter, _t as ReplayItemStartProgress, a as ReplayRegistryOptions, ai as AssertionCategory, an as LabelStatus, ar as TraceAssertionSource, at as RivetIntegrationOptions, b as CurrentSpan, bi as DbBranchTimings, bn as VerdictTarget, br as ExperimentRollupResult, bt as ReplayProgressItem, c as SeedResult, ci as Category, cn as LabelsClient, cr as TraceSearchFilters, ct as AdaptInputsFn, d as seedFromRegistry, di as SaveCategoryParams, dn as TraceVerdicts, dr as TraceTarget, dt as DbBranchReplayError, ei as VercelCallParams, en as HumanVerdictUpdate, er as ScenarioRecord, et as SpanListResult, f as finalizers, fi as CapturedSpan, fn as Verdict, fr as TraceTargetOccurrence, ft as MockStrategy, g as Bitfab, gi as SpanOccurrence, gn as VerdictEvidenceItem, gr as ExperimentCodeChangeTotals, gt as ReplayItemFinishProgress, h as CommitRef, hi as SpanLookup, hn as VerdictEvidence, hr as ExperimentCategoryTally, ht as ReplayItem, i as ReplayRegistryContext, ii as AssertionCategoriesClient, in as LabelSource, ir as TraceAssertion, it as RivetEffectType, j as SpanOptions, ji as DbSnapshotConfig, jn as AssertionRewrite, jr as ListExperimentsParams, jt as BitfabOpenAIAgentHandler, k as SpanMethodDecorator, ki as BitfabError, kn as AssertionGenerationTimeoutError, kr as ExperimentTotals, kt as OrganizationMember, l as defineReplayRegistry, li as CategorySummary, ln as PassFailVerdict, lr as TraceSearchParams, lt as BITFAB_PROGRESS_PREFIX, m as __version__, mi as HttpClient, mn as VerdictConfidence, mr as Experiment, mt as ReplayExperiment, n as ReplayRegistration, ni as VercelStreamResult, nn as LabelConfidence, nr as ScenarioSource, nt as BitfabRivetIntegration, o as ReseedRegistryResult, oi as AssertionCategorySummary, on as LabelTarget, or as TraceAssertionsResult, ot as ReplayBranch, p as DEFAULT_SERVICE_URL, pi as CodeChangeFile, pn as VerdictAction, pr as TracesClient, pt as ReplayError, q as ActiveSpanContext, qi as JustificationSpan, qn as ScenarioCreationStatus, qr as RerunGradersOptions, qt as GradersClient, r as ReplayRegistry, ri as BitfabClaudeAgentHandler, rn as LabelOutcome, rr as ScenarioTrigger, rt as RivetContextLike, s as SeedCase, si as CategoriesClient, sn as LabelUpdate, sr as TraceAssertionsUpdate, st as AdaptContext, t as ReplayOptionsFactory, ti as VercelGenerateResult, tn as LabelAction, tr as ScenarioRecordInput, tt as SpansClient, u as reseedFromRegistry, ui as SaveAssertionCategoryParams, un as TraceLabels, ur as TraceSearchResult, ut as DbBranchOptions, v as BitfabFunction, vi as TokenUsage, vn as VerdictSource, vr as ExperimentPage, vt as ReplayOptions, w as NodeOptions, wi as MockOverrideResolver, wn as AssertionCode, wr as ExperimentSummaryBeforeAfter, wt as serializeReplayResult, x as CurrentTrace, xi as MockOverride, xn as VerdictUpdate, xr as ExperimentRunBy, xt as ReplayResult, y as CaptureWhen, yi as flushTraces, yn as VerdictStatus, yr as ExperimentRollup, yt as ReplayProgress, z as WrapOpenAIResponsesOptions, zi as AllowedEnvVars, zn as SaveScenarioActualOutcome, zr as GraderRerunError, zt as GraderLabel } from "./index-B8gVPP6Y.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 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 VerdictEvidence, type VerdictEvidenceItem, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapGeminiEmbeddingsOptions, type WrapGeminiOptions, type WrapJevOptions, type WrapOpenAIChatOptions, type WrapOpenAIEmbeddingsOptions, type WrapOpenAIResponsesOptions, type WrapOpenAITranscriptionsOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
1
+ import { $ as SpanListParams, $n as ScenarioDataOrigin, $r as SaveDatasetResult, $t as HumanLabelOutcome, A as SpanMethodDecoratorContext, Ai as NodeMatcher, An as AssertionGenerationStatus, Ar as ExperimentSummaryResult, At as OrganizationMembersClient, B as WrapOpenAITranscriptionsOptions, Bi as SelectiveReplayOptions, Bn as SaveAssertionsAllParams, Br as DatasetsClient, Bt as GraderLabelOutcome, C as NodeMethodDecorator, Ci as DbBranchTimings, Cn as VerdictUpdate, Cr as ExperimentRollupResult, Ct as reportReplayProgress, D as SeedCaseOptions, Di as MockOverrideResolver, Dn as AssertionEvidenceParameter, Dr as ExperimentSummaryBeforeAfter, Dt as BitfabPiIntegration, E as ReseedResult, Ei as MockOverrideInput, En as AssertionCode, Er as ExperimentSummary, Et as ReplayInterruptSignal, F as WrapGeminiOptions, Fi as DbSnapshotProvider, Fn as AssertionRewriteStatus, Fr as AddDatasetGradersResult, Ft as LangGraphIntegrationOptions, G as getCurrentTrace, Gi as ApprovalFields, Gn as SaveScenarioParams, Gr as GraderRerunStatus, Gt as GraderVerdictSource, H as WrappedBamlFn, Hi as AllowedEnvVars, Hn as SaveScenarioActualOutcome, Hr as GraderRerunError, Ht as GraderLabelUpdate, I as WrapJevOptions, Ii as DbSnapshotRef, In as AssertionVerdictEvidence, Ir as AddDatasetTracesResult, It as BitfabLangGraphCallbackHandler, J as BitfabOpenAITracingProcessor, Ji as Assignee, Jn as ScenarioAction, Jr as RemoveDatasetGradersResult, Jt as ArchiveLabelTarget, K as CaptureSurface, Ki as ApprovalState, Kn as SavedTraceAssertion, Kr as GraderRerunTimeoutError, Kt as GraderVerdictUpdate, L as WrapOpenAIChatOptions, Li as SUPPORTED_PROVIDERS, Ln as GenerateAssertionsOptions, Lr as Dataset, Lt as GetGraderLabelsParams, M as WrapAnthropicOptions, Mi as BitfabError, Mn as AssertionKind, Mr as ExperimentTotals, Mt as BitfabAgentMiddleware, N as WrapBAMLOptions, Ni as MixedTracingError, Nn as AssertionLabelEvidence, Nr as ExperimentsClient, Nt as BitfabLangGraphAgent, O as SeedRunOptions, Oi as MockValue, On as AssertionGeneration, Or as ExperimentSummaryExampleTrace, Ot as PiIntegrationOptions, P as WrapGeminiEmbeddingsOptions, Pi as DbSnapshotConfig, Pn as AssertionRewrite, Pr as ListExperimentsParams, Pt as BitfabLangGraphIntegration, Q as SpanListField, Qn as ScenarioDataAppend, Qr as SaveDatasetParams, Qt as ExternalVerdictUpdate, R as WrapOpenAIEmbeddingsOptions, Ri as ReplayNodeIdentity, Rn as GenerateScenarioOptions, Rr as DatasetGraderRef, Rt as GetGraderVerdictsParams, S as DetachedTrace, Si as flushTraces, Sn as VerdictTarget, Sr as ExperimentRollup, St as TraceIngestionType, T as ReseedOptions, Ti as MockOverrideCtx, Tn as ArchiveAssertionsParams, Tr as ExperimentStatus, Tt as ReplayInterrupt, U as getCurrentReplayBranch, Ui as BamlExecutionResult, Un as SaveScenarioData, Ur as GraderRerunProgress, Ut as GraderVerdict, V as WrapOpenRouterOptions, Vi as SelectiveReplayReport, Vn as SaveAssertionsParams, Vr as GraderRerun, Vt as GraderLabelSource, W as getCurrentSpan, Wi as ProviderDefinition, Wn as SaveScenarioHistoryEntry, Wr as GraderRerunResult, Wt as GraderVerdictOutcome, X as TracingProcessor, Xi as JustificationSpan, Xn as ScenarioCreationStatus, Xr as RerunGradersOptions, Xt as AssertionVerdict, Y as TraceResponse, Yi as Justification, Yn as ScenarioActualOutcome, Yr as RemoveDatasetTracesResult, Yt as ArchiveVerdictTarget, Z as ListedSpan, Zn as ScenarioData, Zr as RerunGradersResult, Zt as ExternalVerdictOutcome, _ as BitfabConfig, _i as HttpClient, _n as VerdictEvidence, _r as Experiment, _t as ReplayItemStartProgress, a as ReplayRegistryOptions, ai as VercelStreamResult, an as LabelOutcome, ar as ScenarioSource, at as RivetIntegrationOptions, b as CurrentSpan, bi as SpanType, bn as VerdictSource, br as ExperimentJitter, bt as ReplayProgressItem, c as SeedResult, ci as AssertionCategory, cn as LabelTarget, cr as TraceAssertionSource, ct as AdaptInputsFn, d as seedFromRegistry, di as Category, dn as PassFailVerdict, dr as TraceSearchFilters, dt as DbBranchReplayError, ei as UpdateDatasetParams, en as HumanLabelUpdate, er as ScenarioDataSources, et as SpanListResult, f as finalizers, fi as CategorySummary, fn as TraceLabels, fr as TraceSearchParams, ft as MockStrategy, g as Bitfab, gi as CodeChangeFile, gn as VerdictConfidence, gr as TracesClient, gt as ReplayItemFinishProgress, h as CommitRef, hi as CapturedSpan, hn as VerdictAction, hr as TraceTargetOccurrence, ht as ReplayItem, i as ReplayRegistryContext, ii as VercelGenerateResult, in as LabelConfidence, ir as ScenarioRecordInput, it as RivetEffectType, j as SpanOptions, ji as SpanNodeMeta, jn as AssertionGenerationTimeoutError, jr as ExperimentTally, jt as BitfabOpenAIAgentHandler, k as SpanMethodDecorator, ki as NO_MOCK_OVERRIDE, kn as AssertionGenerationError, kr as ExperimentSummaryFacts, kt as OrganizationMember, l as defineReplayRegistry, li as AssertionCategorySummary, ln as LabelUpdate, lr as TraceAssertionsResult, lt as BITFAB_PROGRESS_PREFIX, m as __version__, mi as SaveCategoryParams, mn as Verdict, mr as TraceTarget, mt as ReplayExperiment, n as ReplayRegistration, ni as BitfabVercelAiHandler, nn as HumanVerdictUpdate, nr as ScenarioHistoryEntry, nt as BitfabRivetIntegration, o as ReseedRegistryResult, oi as BitfabClaudeAgentHandler, on as LabelSource, or as ScenarioTrigger, ot as ReplayBranch, p as DEFAULT_SERVICE_URL, pi as SaveAssertionCategoryParams, pn as TraceVerdicts, pr as TraceSearchResult, pt as ReplayError, q as ActiveSpanContext, qi as Approver, qn as Scenario, qr as ListDatasetsParams, qt as GradersClient, r as ReplayRegistry, ri as VercelCallParams, rn as LabelAction, rr as ScenarioRecord, rt as RivetContextLike, s as SeedCase, si as AssertionCategoriesClient, sn as LabelStatus, sr as TraceAssertion, st as AdaptContext, t as ReplayOptionsFactory, ti as BitfabLanguageModelMiddleware, tn as HumanVerdictOutcome, tr as ScenarioGeneration, tt as SpansClient, u as reseedFromRegistry, ui as CategoriesClient, un as LabelsClient, ur as TraceAssertionsUpdate, ut as DbBranchOptions, v as BitfabFunction, vi as SpanLookup, vn as VerdictEvidenceItem, vr as ExperimentCategoryTally, vt as ReplayOptions, w as NodeOptions, wi as MockOverride, wn as VerdictsClient, wr as ExperimentRunBy, wt as serializeReplayResult, x as CurrentTrace, xi as TokenUsage, xn as VerdictStatus, xr as ExperimentPage, xt as ReplayResult, y as CaptureWhen, yi as SpanOccurrence, yn as VerdictOutcome, yr as ExperimentCodeChangeTotals, yt as ReplayProgress, z as WrapOpenAIResponsesOptions, zi as SelectiveReplayDecision, zn as SaveAssertion, zr as DatasetTraceIds, zt as GraderLabel } from "./index-We17b1Rc.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 ExternalVerdictOutcome, type ExternalVerdictUpdate, 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 VerdictEvidence, type VerdictEvidenceItem, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapGeminiEmbeddingsOptions, type WrapGeminiOptions, type WrapJevOptions, type WrapOpenAIChatOptions, type WrapOpenAIEmbeddingsOptions, type WrapOpenAIResponsesOptions, type WrapOpenAITranscriptionsOptions, 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 SpanListParams, $n as ScenarioHistoryEntry, $r as BitfabVercelAiHandler, $t as HumanVerdictOutcome, A as SpanMethodDecoratorContext, Ai as MixedTracingError, An as AssertionLabelEvidence, Ar as ExperimentsClient, At as OrganizationMembersClient, B as WrapOpenAITranscriptionsOptions, Bi as BamlExecutionResult, Bn as SaveScenarioData, Br as GraderRerunProgress, Bt as GraderLabelOutcome, C as NodeMethodDecorator, Ci as MockOverrideInput, Cn as ArchiveAssertionsParams, Cr as ExperimentSummary, Ct as reportReplayProgress, D as SeedCaseOptions, Di as NodeMatcher, Dn as AssertionGenerationError, Dr as ExperimentSummaryResult, Dt as BitfabPiIntegration, E as ReseedResult, Ei as NO_MOCK_OVERRIDE, En as AssertionGeneration, Er as ExperimentSummaryFacts, Et as ReplayInterruptSignal, F as WrapGeminiOptions, Fi as ReplayNodeIdentity, Fn as GenerateScenarioOptions, Fr as DatasetGraderRef, Ft as LangGraphIntegrationOptions, G as getCurrentTrace, Gi as Assignee, Gn as ScenarioAction, Gr as RemoveDatasetGradersResult, Gt as GraderVerdictSource, H as WrappedBamlFn, Hi as ApprovalFields, Hn as SaveScenarioParams, Hr as GraderRerunStatus, Ht as GraderLabelUpdate, I as WrapJevOptions, Ii as SelectiveReplayDecision, In as SaveAssertion, Ir as DatasetTraceIds, It as BitfabLangGraphCallbackHandler, J as BitfabOpenAITracingProcessor, Jn as ScenarioData, Jr as RerunGradersResult, Jt as ArchiveLabelTarget, K as CaptureSurface, Ki as Justification, Kn as ScenarioActualOutcome, Kr as RemoveDatasetTracesResult, Kt as GraderVerdictUpdate, L as WrapOpenAIChatOptions, Li as SelectiveReplayOptions, Ln as SaveAssertionsAllParams, Lr as DatasetsClient, Lt as GetGraderLabelsParams, M as WrapAnthropicOptions, Mi as DbSnapshotProvider, Mn as AssertionRewriteStatus, Mr as AddDatasetGradersResult, Mt as BitfabAgentMiddleware, N as WrapBAMLOptions, Ni as DbSnapshotRef, Nn as AssertionVerdictEvidence, Nr as AddDatasetTracesResult, Nt as BitfabLangGraphAgent, O as SeedRunOptions, Oi as SpanNodeMeta, On as AssertionGenerationStatus, Or as ExperimentTally, Ot as PiIntegrationOptions, P as WrapGeminiEmbeddingsOptions, Pi as SUPPORTED_PROVIDERS, Pn as GenerateAssertionsOptions, Pr as Dataset, Pt as BitfabLangGraphIntegration, Q as SpanListField, Qn as ScenarioGeneration, Qr as BitfabLanguageModelMiddleware, Qt as HumanLabelUpdate, R as WrapOpenAIEmbeddingsOptions, Ri as SelectiveReplayReport, Rn as SaveAssertionsParams, Rr as GraderRerun, Rt as GetGraderVerdictsParams, S as DetachedTrace, Si as MockOverrideCtx, Sn as VerdictsClient, Sr as ExperimentStatus, St as TraceIngestionType, T as ReseedOptions, Ti as MockValue, Tn as AssertionEvidenceParameter, Tr as ExperimentSummaryExampleTrace, Tt as ReplayInterrupt, U as getCurrentReplayBranch, Ui as ApprovalState, Un as SavedTraceAssertion, Ur as GraderRerunTimeoutError, Ut as GraderVerdict, V as WrapOpenRouterOptions, Vi as ProviderDefinition, Vn as SaveScenarioHistoryEntry, Vr as GraderRerunResult, Vt as GraderLabelSource, W as getCurrentSpan, Wi as Approver, Wn as Scenario, Wr as ListDatasetsParams, Wt as GraderVerdictOutcome, X as TracingProcessor, Xn as ScenarioDataOrigin, Xr as SaveDatasetResult, Xt as AssertionVerdict, Y as TraceResponse, Yn as ScenarioDataAppend, Yr as SaveDatasetParams, Yt as ArchiveVerdictTarget, Z as ListedSpan, Zn as ScenarioDataSources, Zr as UpdateDatasetParams, Zt as HumanLabelOutcome, _ as BitfabConfig, _i as SpanType, _n as VerdictOutcome, _r as ExperimentJitter, _t as ReplayItemStartProgress, a as ReplayRegistryOptions, ai as AssertionCategory, an as LabelStatus, ar as TraceAssertionSource, at as RivetIntegrationOptions, b as CurrentSpan, bi as DbBranchTimings, bn as VerdictTarget, br as ExperimentRollupResult, bt as ReplayProgressItem, c as SeedResult, ci as Category, cn as LabelsClient, cr as TraceSearchFilters, ct as AdaptInputsFn, d as seedFromRegistry, di as SaveCategoryParams, dn as TraceVerdicts, dr as TraceTarget, dt as DbBranchReplayError, ei as VercelCallParams, en as HumanVerdictUpdate, er as ScenarioRecord, et as SpanListResult, f as finalizers, fi as CapturedSpan, fn as Verdict, fr as TraceTargetOccurrence, ft as MockStrategy, g as Bitfab, gi as SpanOccurrence, gn as VerdictEvidenceItem, gr as ExperimentCodeChangeTotals, gt as ReplayItemFinishProgress, h as CommitRef, hi as SpanLookup, hn as VerdictEvidence, hr as ExperimentCategoryTally, ht as ReplayItem, i as ReplayRegistryContext, ii as AssertionCategoriesClient, in as LabelSource, ir as TraceAssertion, it as RivetEffectType, j as SpanOptions, ji as DbSnapshotConfig, jn as AssertionRewrite, jr as ListExperimentsParams, jt as BitfabOpenAIAgentHandler, k as SpanMethodDecorator, ki as BitfabError, kn as AssertionGenerationTimeoutError, kr as ExperimentTotals, kt as OrganizationMember, l as defineReplayRegistry, li as CategorySummary, ln as PassFailVerdict, lr as TraceSearchParams, lt as BITFAB_PROGRESS_PREFIX, m as __version__, mi as HttpClient, mn as VerdictConfidence, mr as Experiment, mt as ReplayExperiment, n as ReplayRegistration, ni as VercelStreamResult, nn as LabelConfidence, nr as ScenarioSource, nt as BitfabRivetIntegration, o as ReseedRegistryResult, oi as AssertionCategorySummary, on as LabelTarget, or as TraceAssertionsResult, ot as ReplayBranch, p as DEFAULT_SERVICE_URL, pi as CodeChangeFile, pn as VerdictAction, pr as TracesClient, pt as ReplayError, q as ActiveSpanContext, qi as JustificationSpan, qn as ScenarioCreationStatus, qr as RerunGradersOptions, qt as GradersClient, r as ReplayRegistry, ri as BitfabClaudeAgentHandler, rn as LabelOutcome, rr as ScenarioTrigger, rt as RivetContextLike, s as SeedCase, si as CategoriesClient, sn as LabelUpdate, sr as TraceAssertionsUpdate, st as AdaptContext, t as ReplayOptionsFactory, ti as VercelGenerateResult, tn as LabelAction, tr as ScenarioRecordInput, tt as SpansClient, u as reseedFromRegistry, ui as SaveAssertionCategoryParams, un as TraceLabels, ur as TraceSearchResult, ut as DbBranchOptions, v as BitfabFunction, vi as TokenUsage, vn as VerdictSource, vr as ExperimentPage, vt as ReplayOptions, w as NodeOptions, wi as MockOverrideResolver, wn as AssertionCode, wr as ExperimentSummaryBeforeAfter, wt as serializeReplayResult, x as CurrentTrace, xi as MockOverride, xn as VerdictUpdate, xr as ExperimentRunBy, xt as ReplayResult, y as CaptureWhen, yi as flushTraces, yn as VerdictStatus, yr as ExperimentRollup, yt as ReplayProgress, z as WrapOpenAIResponsesOptions, zi as AllowedEnvVars, zn as SaveScenarioActualOutcome, zr as GraderRerunError, zt as GraderLabel } from "./index-B8gVPP6Y.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 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 VerdictEvidence, type VerdictEvidenceItem, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapGeminiEmbeddingsOptions, type WrapGeminiOptions, type WrapJevOptions, type WrapOpenAIChatOptions, type WrapOpenAIEmbeddingsOptions, type WrapOpenAIResponsesOptions, type WrapOpenAITranscriptionsOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
1
+ import { $ as SpanListParams, $n as ScenarioDataOrigin, $r as SaveDatasetResult, $t as HumanLabelOutcome, A as SpanMethodDecoratorContext, Ai as NodeMatcher, An as AssertionGenerationStatus, Ar as ExperimentSummaryResult, At as OrganizationMembersClient, B as WrapOpenAITranscriptionsOptions, Bi as SelectiveReplayOptions, Bn as SaveAssertionsAllParams, Br as DatasetsClient, Bt as GraderLabelOutcome, C as NodeMethodDecorator, Ci as DbBranchTimings, Cn as VerdictUpdate, Cr as ExperimentRollupResult, Ct as reportReplayProgress, D as SeedCaseOptions, Di as MockOverrideResolver, Dn as AssertionEvidenceParameter, Dr as ExperimentSummaryBeforeAfter, Dt as BitfabPiIntegration, E as ReseedResult, Ei as MockOverrideInput, En as AssertionCode, Er as ExperimentSummary, Et as ReplayInterruptSignal, F as WrapGeminiOptions, Fi as DbSnapshotProvider, Fn as AssertionRewriteStatus, Fr as AddDatasetGradersResult, Ft as LangGraphIntegrationOptions, G as getCurrentTrace, Gi as ApprovalFields, Gn as SaveScenarioParams, Gr as GraderRerunStatus, Gt as GraderVerdictSource, H as WrappedBamlFn, Hi as AllowedEnvVars, Hn as SaveScenarioActualOutcome, Hr as GraderRerunError, Ht as GraderLabelUpdate, I as WrapJevOptions, Ii as DbSnapshotRef, In as AssertionVerdictEvidence, Ir as AddDatasetTracesResult, It as BitfabLangGraphCallbackHandler, J as BitfabOpenAITracingProcessor, Ji as Assignee, Jn as ScenarioAction, Jr as RemoveDatasetGradersResult, Jt as ArchiveLabelTarget, K as CaptureSurface, Ki as ApprovalState, Kn as SavedTraceAssertion, Kr as GraderRerunTimeoutError, Kt as GraderVerdictUpdate, L as WrapOpenAIChatOptions, Li as SUPPORTED_PROVIDERS, Ln as GenerateAssertionsOptions, Lr as Dataset, Lt as GetGraderLabelsParams, M as WrapAnthropicOptions, Mi as BitfabError, Mn as AssertionKind, Mr as ExperimentTotals, Mt as BitfabAgentMiddleware, N as WrapBAMLOptions, Ni as MixedTracingError, Nn as AssertionLabelEvidence, Nr as ExperimentsClient, Nt as BitfabLangGraphAgent, O as SeedRunOptions, Oi as MockValue, On as AssertionGeneration, Or as ExperimentSummaryExampleTrace, Ot as PiIntegrationOptions, P as WrapGeminiEmbeddingsOptions, Pi as DbSnapshotConfig, Pn as AssertionRewrite, Pr as ListExperimentsParams, Pt as BitfabLangGraphIntegration, Q as SpanListField, Qn as ScenarioDataAppend, Qr as SaveDatasetParams, Qt as ExternalVerdictUpdate, R as WrapOpenAIEmbeddingsOptions, Ri as ReplayNodeIdentity, Rn as GenerateScenarioOptions, Rr as DatasetGraderRef, Rt as GetGraderVerdictsParams, S as DetachedTrace, Si as flushTraces, Sn as VerdictTarget, Sr as ExperimentRollup, St as TraceIngestionType, T as ReseedOptions, Ti as MockOverrideCtx, Tn as ArchiveAssertionsParams, Tr as ExperimentStatus, Tt as ReplayInterrupt, U as getCurrentReplayBranch, Ui as BamlExecutionResult, Un as SaveScenarioData, Ur as GraderRerunProgress, Ut as GraderVerdict, V as WrapOpenRouterOptions, Vi as SelectiveReplayReport, Vn as SaveAssertionsParams, Vr as GraderRerun, Vt as GraderLabelSource, W as getCurrentSpan, Wi as ProviderDefinition, Wn as SaveScenarioHistoryEntry, Wr as GraderRerunResult, Wt as GraderVerdictOutcome, X as TracingProcessor, Xi as JustificationSpan, Xn as ScenarioCreationStatus, Xr as RerunGradersOptions, Xt as AssertionVerdict, Y as TraceResponse, Yi as Justification, Yn as ScenarioActualOutcome, Yr as RemoveDatasetTracesResult, Yt as ArchiveVerdictTarget, Z as ListedSpan, Zn as ScenarioData, Zr as RerunGradersResult, Zt as ExternalVerdictOutcome, _ as BitfabConfig, _i as HttpClient, _n as VerdictEvidence, _r as Experiment, _t as ReplayItemStartProgress, a as ReplayRegistryOptions, ai as VercelStreamResult, an as LabelOutcome, ar as ScenarioSource, at as RivetIntegrationOptions, b as CurrentSpan, bi as SpanType, bn as VerdictSource, br as ExperimentJitter, bt as ReplayProgressItem, c as SeedResult, ci as AssertionCategory, cn as LabelTarget, cr as TraceAssertionSource, ct as AdaptInputsFn, d as seedFromRegistry, di as Category, dn as PassFailVerdict, dr as TraceSearchFilters, dt as DbBranchReplayError, ei as UpdateDatasetParams, en as HumanLabelUpdate, er as ScenarioDataSources, et as SpanListResult, f as finalizers, fi as CategorySummary, fn as TraceLabels, fr as TraceSearchParams, ft as MockStrategy, g as Bitfab, gi as CodeChangeFile, gn as VerdictConfidence, gr as TracesClient, gt as ReplayItemFinishProgress, h as CommitRef, hi as CapturedSpan, hn as VerdictAction, hr as TraceTargetOccurrence, ht as ReplayItem, i as ReplayRegistryContext, ii as VercelGenerateResult, in as LabelConfidence, ir as ScenarioRecordInput, it as RivetEffectType, j as SpanOptions, ji as SpanNodeMeta, jn as AssertionGenerationTimeoutError, jr as ExperimentTally, jt as BitfabOpenAIAgentHandler, k as SpanMethodDecorator, ki as NO_MOCK_OVERRIDE, kn as AssertionGenerationError, kr as ExperimentSummaryFacts, kt as OrganizationMember, l as defineReplayRegistry, li as AssertionCategorySummary, ln as LabelUpdate, lr as TraceAssertionsResult, lt as BITFAB_PROGRESS_PREFIX, m as __version__, mi as SaveCategoryParams, mn as Verdict, mr as TraceTarget, mt as ReplayExperiment, n as ReplayRegistration, ni as BitfabVercelAiHandler, nn as HumanVerdictUpdate, nr as ScenarioHistoryEntry, nt as BitfabRivetIntegration, o as ReseedRegistryResult, oi as BitfabClaudeAgentHandler, on as LabelSource, or as ScenarioTrigger, ot as ReplayBranch, p as DEFAULT_SERVICE_URL, pi as SaveAssertionCategoryParams, pn as TraceVerdicts, pr as TraceSearchResult, pt as ReplayError, q as ActiveSpanContext, qi as Approver, qn as Scenario, qr as ListDatasetsParams, qt as GradersClient, r as ReplayRegistry, ri as VercelCallParams, rn as LabelAction, rr as ScenarioRecord, rt as RivetContextLike, s as SeedCase, si as AssertionCategoriesClient, sn as LabelStatus, sr as TraceAssertion, st as AdaptContext, t as ReplayOptionsFactory, ti as BitfabLanguageModelMiddleware, tn as HumanVerdictOutcome, tr as ScenarioGeneration, tt as SpansClient, u as reseedFromRegistry, ui as CategoriesClient, un as LabelsClient, ur as TraceAssertionsUpdate, ut as DbBranchOptions, v as BitfabFunction, vi as SpanLookup, vn as VerdictEvidenceItem, vr as ExperimentCategoryTally, vt as ReplayOptions, w as NodeOptions, wi as MockOverride, wn as VerdictsClient, wr as ExperimentRunBy, wt as serializeReplayResult, x as CurrentTrace, xi as TokenUsage, xn as VerdictStatus, xr as ExperimentPage, xt as ReplayResult, y as CaptureWhen, yi as SpanOccurrence, yn as VerdictOutcome, yr as ExperimentCodeChangeTotals, yt as ReplayProgress, z as WrapOpenAIResponsesOptions, zi as SelectiveReplayDecision, zn as SaveAssertion, zr as DatasetTraceIds, zt as GraderLabel } from "./index-We17b1Rc.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 ExternalVerdictOutcome, type ExternalVerdictUpdate, 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 VerdictEvidence, type VerdictEvidenceItem, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapGeminiEmbeddingsOptions, type WrapGeminiOptions, type WrapJevOptions, type WrapOpenAIChatOptions, type WrapOpenAIEmbeddingsOptions, type WrapOpenAIResponsesOptions, type WrapOpenAITranscriptionsOptions, 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-BnELQNAx.js";
2
- import { C as BitfabError, O as __version__, i as flushTraces, t as HttpClient, w as MixedTracingError } from "./http-DHXjaX-W.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-C8zuYl9-.js";
2
+ import { C as BitfabError, O as __version__, i as flushTraces, t as HttpClient, w as MixedTracingError } from "./http-D_HphyVw.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,9 +2,9 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_src = require("./src-D3bpLZ98.cjs");
6
- const require_http = require("./http-E8Qa7I4v.cjs");
7
- const require_autoTrace = require("./autoTrace-BtiEpHTN.cjs");
5
+ const require_src = require("./src-D-3u3oXH.cjs");
6
+ const require_http = require("./http-Bt8-MEJA.cjs");
7
+ const require_autoTrace = require("./autoTrace-Yg2tW5p-.cjs");
8
8
  let async_hooks = require("async_hooks");
9
9
  //#region src/asyncStorageNode.ts
10
10
  require_autoTrace.registerAsyncLocalStorageClass(async_hooks.AsyncLocalStorage);
package/dist/node.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as SpanListParams, $n as ScenarioHistoryEntry, $r as BitfabVercelAiHandler, $t as HumanVerdictOutcome, A as SpanMethodDecoratorContext, Ai as MixedTracingError, An as AssertionLabelEvidence, Ar as ExperimentsClient, At as OrganizationMembersClient, B as WrapOpenAITranscriptionsOptions, Bi as BamlExecutionResult, Bn as SaveScenarioData, Br as GraderRerunProgress, Bt as GraderLabelOutcome, C as NodeMethodDecorator, Ci as MockOverrideInput, Cn as ArchiveAssertionsParams, Cr as ExperimentSummary, Ct as reportReplayProgress, D as SeedCaseOptions, Di as NodeMatcher, Dn as AssertionGenerationError, Dr as ExperimentSummaryResult, Dt as BitfabPiIntegration, E as ReseedResult, Ei as NO_MOCK_OVERRIDE, En as AssertionGeneration, Er as ExperimentSummaryFacts, Et as ReplayInterruptSignal, F as WrapGeminiOptions, Fi as ReplayNodeIdentity, Fn as GenerateScenarioOptions, Fr as DatasetGraderRef, Ft as LangGraphIntegrationOptions, G as getCurrentTrace, Gi as Assignee, Gn as ScenarioAction, Gr as RemoveDatasetGradersResult, Gt as GraderVerdictSource, H as WrappedBamlFn, Hi as ApprovalFields, Hn as SaveScenarioParams, Hr as GraderRerunStatus, Ht as GraderLabelUpdate, I as WrapJevOptions, Ii as SelectiveReplayDecision, In as SaveAssertion, Ir as DatasetTraceIds, It as BitfabLangGraphCallbackHandler, J as BitfabOpenAITracingProcessor, Jn as ScenarioData, Jr as RerunGradersResult, Jt as ArchiveLabelTarget, K as CaptureSurface, Ki as Justification, Kn as ScenarioActualOutcome, Kr as RemoveDatasetTracesResult, Kt as GraderVerdictUpdate, L as WrapOpenAIChatOptions, Li as SelectiveReplayOptions, Ln as SaveAssertionsAllParams, Lr as DatasetsClient, Lt as GetGraderLabelsParams, M as WrapAnthropicOptions, Mi as DbSnapshotProvider, Mn as AssertionRewriteStatus, Mr as AddDatasetGradersResult, Mt as BitfabAgentMiddleware, N as WrapBAMLOptions, Ni as DbSnapshotRef, Nn as AssertionVerdictEvidence, Nr as AddDatasetTracesResult, Nt as BitfabLangGraphAgent, O as SeedRunOptions, Oi as SpanNodeMeta, On as AssertionGenerationStatus, Or as ExperimentTally, Ot as PiIntegrationOptions, P as WrapGeminiEmbeddingsOptions, Pi as SUPPORTED_PROVIDERS, Pn as GenerateAssertionsOptions, Pr as Dataset, Pt as BitfabLangGraphIntegration, Q as SpanListField, Qn as ScenarioGeneration, Qr as BitfabLanguageModelMiddleware, Qt as HumanLabelUpdate, R as WrapOpenAIEmbeddingsOptions, Ri as SelectiveReplayReport, Rn as SaveAssertionsParams, Rr as GraderRerun, Rt as GetGraderVerdictsParams, S as DetachedTrace, Si as MockOverrideCtx, Sn as VerdictsClient, Sr as ExperimentStatus, St as TraceIngestionType, T as ReseedOptions, Ti as MockValue, Tn as AssertionEvidenceParameter, Tr as ExperimentSummaryExampleTrace, Tt as ReplayInterrupt, U as getCurrentReplayBranch, Ui as ApprovalState, Un as SavedTraceAssertion, Ur as GraderRerunTimeoutError, Ut as GraderVerdict, V as WrapOpenRouterOptions, Vi as ProviderDefinition, Vn as SaveScenarioHistoryEntry, Vr as GraderRerunResult, Vt as GraderLabelSource, W as getCurrentSpan, Wi as Approver, Wn as Scenario, Wr as ListDatasetsParams, Wt as GraderVerdictOutcome, X as TracingProcessor, Xn as ScenarioDataOrigin, Xr as SaveDatasetResult, Xt as AssertionVerdict, Y as TraceResponse, Yn as ScenarioDataAppend, Yr as SaveDatasetParams, Yt as ArchiveVerdictTarget, Z as ListedSpan, Zn as ScenarioDataSources, Zr as UpdateDatasetParams, Zt as HumanLabelOutcome, _ as BitfabConfig, _i as SpanType, _n as VerdictOutcome, _r as ExperimentJitter, _t as ReplayItemStartProgress, a as ReplayRegistryOptions, ai as AssertionCategory, an as LabelStatus, ar as TraceAssertionSource, at as RivetIntegrationOptions, b as CurrentSpan, bi as DbBranchTimings, bn as VerdictTarget, br as ExperimentRollupResult, bt as ReplayProgressItem, c as SeedResult, ci as Category, cn as LabelsClient, cr as TraceSearchFilters, ct as AdaptInputsFn, d as seedFromRegistry, di as SaveCategoryParams, dn as TraceVerdicts, dr as TraceTarget, dt as DbBranchReplayError, ei as VercelCallParams, en as HumanVerdictUpdate, er as ScenarioRecord, et as SpanListResult, f as finalizers, fi as CapturedSpan, fn as Verdict, fr as TraceTargetOccurrence, ft as MockStrategy, g as Bitfab, gi as SpanOccurrence, gn as VerdictEvidenceItem, gr as ExperimentCodeChangeTotals, gt as ReplayItemFinishProgress, h as CommitRef, hi as SpanLookup, hn as VerdictEvidence, hr as ExperimentCategoryTally, ht as ReplayItem, i as ReplayRegistryContext, ii as AssertionCategoriesClient, in as LabelSource, ir as TraceAssertion, it as RivetEffectType, j as SpanOptions, ji as DbSnapshotConfig, jn as AssertionRewrite, jr as ListExperimentsParams, jt as BitfabOpenAIAgentHandler, k as SpanMethodDecorator, ki as BitfabError, kn as AssertionGenerationTimeoutError, kr as ExperimentTotals, kt as OrganizationMember, l as defineReplayRegistry, li as CategorySummary, ln as PassFailVerdict, lr as TraceSearchParams, lt as BITFAB_PROGRESS_PREFIX, m as __version__, mi as HttpClient, mn as VerdictConfidence, mr as Experiment, mt as ReplayExperiment, n as ReplayRegistration, ni as VercelStreamResult, nn as LabelConfidence, nr as ScenarioSource, nt as BitfabRivetIntegration, o as ReseedRegistryResult, oi as AssertionCategorySummary, on as LabelTarget, or as TraceAssertionsResult, ot as ReplayBranch, p as DEFAULT_SERVICE_URL, pi as CodeChangeFile, pn as VerdictAction, pr as TracesClient, pt as ReplayError, q as ActiveSpanContext, qi as JustificationSpan, qn as ScenarioCreationStatus, qr as RerunGradersOptions, qt as GradersClient, r as ReplayRegistry, ri as BitfabClaudeAgentHandler, rn as LabelOutcome, rr as ScenarioTrigger, rt as RivetContextLike, s as SeedCase, si as CategoriesClient, sn as LabelUpdate, sr as TraceAssertionsUpdate, st as AdaptContext, t as ReplayOptionsFactory, ti as VercelGenerateResult, tn as LabelAction, tr as ScenarioRecordInput, tt as SpansClient, u as reseedFromRegistry, ui as SaveAssertionCategoryParams, un as TraceLabels, ur as TraceSearchResult, ut as DbBranchOptions, v as BitfabFunction, vi as TokenUsage, vn as VerdictSource, vr as ExperimentPage, vt as ReplayOptions, w as NodeOptions, wi as MockOverrideResolver, wn as AssertionCode, wr as ExperimentSummaryBeforeAfter, wt as serializeReplayResult, x as CurrentTrace, xi as MockOverride, xn as VerdictUpdate, xr as ExperimentRunBy, xt as ReplayResult, y as CaptureWhen, yi as flushTraces, yn as VerdictStatus, yr as ExperimentRollup, yt as ReplayProgress, z as WrapOpenAIResponsesOptions, zi as AllowedEnvVars, zn as SaveScenarioActualOutcome, zr as GraderRerunError, zt as GraderLabel } from "./index-B8gVPP6Y.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 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 VerdictEvidence, type VerdictEvidenceItem, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapGeminiEmbeddingsOptions, type WrapGeminiOptions, type WrapJevOptions, type WrapOpenAIChatOptions, type WrapOpenAIEmbeddingsOptions, type WrapOpenAIResponsesOptions, type WrapOpenAITranscriptionsOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
1
+ import { $ as SpanListParams, $n as ScenarioDataOrigin, $r as SaveDatasetResult, $t as HumanLabelOutcome, A as SpanMethodDecoratorContext, Ai as NodeMatcher, An as AssertionGenerationStatus, Ar as ExperimentSummaryResult, At as OrganizationMembersClient, B as WrapOpenAITranscriptionsOptions, Bi as SelectiveReplayOptions, Bn as SaveAssertionsAllParams, Br as DatasetsClient, Bt as GraderLabelOutcome, C as NodeMethodDecorator, Ci as DbBranchTimings, Cn as VerdictUpdate, Cr as ExperimentRollupResult, Ct as reportReplayProgress, D as SeedCaseOptions, Di as MockOverrideResolver, Dn as AssertionEvidenceParameter, Dr as ExperimentSummaryBeforeAfter, Dt as BitfabPiIntegration, E as ReseedResult, Ei as MockOverrideInput, En as AssertionCode, Er as ExperimentSummary, Et as ReplayInterruptSignal, F as WrapGeminiOptions, Fi as DbSnapshotProvider, Fn as AssertionRewriteStatus, Fr as AddDatasetGradersResult, Ft as LangGraphIntegrationOptions, G as getCurrentTrace, Gi as ApprovalFields, Gn as SaveScenarioParams, Gr as GraderRerunStatus, Gt as GraderVerdictSource, H as WrappedBamlFn, Hi as AllowedEnvVars, Hn as SaveScenarioActualOutcome, Hr as GraderRerunError, Ht as GraderLabelUpdate, I as WrapJevOptions, Ii as DbSnapshotRef, In as AssertionVerdictEvidence, Ir as AddDatasetTracesResult, It as BitfabLangGraphCallbackHandler, J as BitfabOpenAITracingProcessor, Ji as Assignee, Jn as ScenarioAction, Jr as RemoveDatasetGradersResult, Jt as ArchiveLabelTarget, K as CaptureSurface, Ki as ApprovalState, Kn as SavedTraceAssertion, Kr as GraderRerunTimeoutError, Kt as GraderVerdictUpdate, L as WrapOpenAIChatOptions, Li as SUPPORTED_PROVIDERS, Ln as GenerateAssertionsOptions, Lr as Dataset, Lt as GetGraderLabelsParams, M as WrapAnthropicOptions, Mi as BitfabError, Mn as AssertionKind, Mr as ExperimentTotals, Mt as BitfabAgentMiddleware, N as WrapBAMLOptions, Ni as MixedTracingError, Nn as AssertionLabelEvidence, Nr as ExperimentsClient, Nt as BitfabLangGraphAgent, O as SeedRunOptions, Oi as MockValue, On as AssertionGeneration, Or as ExperimentSummaryExampleTrace, Ot as PiIntegrationOptions, P as WrapGeminiEmbeddingsOptions, Pi as DbSnapshotConfig, Pn as AssertionRewrite, Pr as ListExperimentsParams, Pt as BitfabLangGraphIntegration, Q as SpanListField, Qn as ScenarioDataAppend, Qr as SaveDatasetParams, Qt as ExternalVerdictUpdate, R as WrapOpenAIEmbeddingsOptions, Ri as ReplayNodeIdentity, Rn as GenerateScenarioOptions, Rr as DatasetGraderRef, Rt as GetGraderVerdictsParams, S as DetachedTrace, Si as flushTraces, Sn as VerdictTarget, Sr as ExperimentRollup, St as TraceIngestionType, T as ReseedOptions, Ti as MockOverrideCtx, Tn as ArchiveAssertionsParams, Tr as ExperimentStatus, Tt as ReplayInterrupt, U as getCurrentReplayBranch, Ui as BamlExecutionResult, Un as SaveScenarioData, Ur as GraderRerunProgress, Ut as GraderVerdict, V as WrapOpenRouterOptions, Vi as SelectiveReplayReport, Vn as SaveAssertionsParams, Vr as GraderRerun, Vt as GraderLabelSource, W as getCurrentSpan, Wi as ProviderDefinition, Wn as SaveScenarioHistoryEntry, Wr as GraderRerunResult, Wt as GraderVerdictOutcome, X as TracingProcessor, Xi as JustificationSpan, Xn as ScenarioCreationStatus, Xr as RerunGradersOptions, Xt as AssertionVerdict, Y as TraceResponse, Yi as Justification, Yn as ScenarioActualOutcome, Yr as RemoveDatasetTracesResult, Yt as ArchiveVerdictTarget, Z as ListedSpan, Zn as ScenarioData, Zr as RerunGradersResult, Zt as ExternalVerdictOutcome, _ as BitfabConfig, _i as HttpClient, _n as VerdictEvidence, _r as Experiment, _t as ReplayItemStartProgress, a as ReplayRegistryOptions, ai as VercelStreamResult, an as LabelOutcome, ar as ScenarioSource, at as RivetIntegrationOptions, b as CurrentSpan, bi as SpanType, bn as VerdictSource, br as ExperimentJitter, bt as ReplayProgressItem, c as SeedResult, ci as AssertionCategory, cn as LabelTarget, cr as TraceAssertionSource, ct as AdaptInputsFn, d as seedFromRegistry, di as Category, dn as PassFailVerdict, dr as TraceSearchFilters, dt as DbBranchReplayError, ei as UpdateDatasetParams, en as HumanLabelUpdate, er as ScenarioDataSources, et as SpanListResult, f as finalizers, fi as CategorySummary, fn as TraceLabels, fr as TraceSearchParams, ft as MockStrategy, g as Bitfab, gi as CodeChangeFile, gn as VerdictConfidence, gr as TracesClient, gt as ReplayItemFinishProgress, h as CommitRef, hi as CapturedSpan, hn as VerdictAction, hr as TraceTargetOccurrence, ht as ReplayItem, i as ReplayRegistryContext, ii as VercelGenerateResult, in as LabelConfidence, ir as ScenarioRecordInput, it as RivetEffectType, j as SpanOptions, ji as SpanNodeMeta, jn as AssertionGenerationTimeoutError, jr as ExperimentTally, jt as BitfabOpenAIAgentHandler, k as SpanMethodDecorator, ki as NO_MOCK_OVERRIDE, kn as AssertionGenerationError, kr as ExperimentSummaryFacts, kt as OrganizationMember, l as defineReplayRegistry, li as AssertionCategorySummary, ln as LabelUpdate, lr as TraceAssertionsResult, lt as BITFAB_PROGRESS_PREFIX, m as __version__, mi as SaveCategoryParams, mn as Verdict, mr as TraceTarget, mt as ReplayExperiment, n as ReplayRegistration, ni as BitfabVercelAiHandler, nn as HumanVerdictUpdate, nr as ScenarioHistoryEntry, nt as BitfabRivetIntegration, o as ReseedRegistryResult, oi as BitfabClaudeAgentHandler, on as LabelSource, or as ScenarioTrigger, ot as ReplayBranch, p as DEFAULT_SERVICE_URL, pi as SaveAssertionCategoryParams, pn as TraceVerdicts, pr as TraceSearchResult, pt as ReplayError, q as ActiveSpanContext, qi as Approver, qn as Scenario, qr as ListDatasetsParams, qt as GradersClient, r as ReplayRegistry, ri as VercelCallParams, rn as LabelAction, rr as ScenarioRecord, rt as RivetContextLike, s as SeedCase, si as AssertionCategoriesClient, sn as LabelStatus, sr as TraceAssertion, st as AdaptContext, t as ReplayOptionsFactory, ti as BitfabLanguageModelMiddleware, tn as HumanVerdictOutcome, tr as ScenarioGeneration, tt as SpansClient, u as reseedFromRegistry, ui as CategoriesClient, un as LabelsClient, ur as TraceAssertionsUpdate, ut as DbBranchOptions, v as BitfabFunction, vi as SpanLookup, vn as VerdictEvidenceItem, vr as ExperimentCategoryTally, vt as ReplayOptions, w as NodeOptions, wi as MockOverride, wn as VerdictsClient, wr as ExperimentRunBy, wt as serializeReplayResult, x as CurrentTrace, xi as TokenUsage, xn as VerdictStatus, xr as ExperimentPage, xt as ReplayResult, y as CaptureWhen, yi as SpanOccurrence, yn as VerdictOutcome, yr as ExperimentCodeChangeTotals, yt as ReplayProgress, z as WrapOpenAIResponsesOptions, zi as SelectiveReplayDecision, zn as SaveAssertion, zr as DatasetTraceIds, zt as GraderLabel } from "./index-We17b1Rc.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 ExternalVerdictOutcome, type ExternalVerdictUpdate, 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 VerdictEvidence, type VerdictEvidenceItem, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapGeminiEmbeddingsOptions, type WrapGeminiOptions, type WrapJevOptions, type WrapOpenAIChatOptions, type WrapOpenAIEmbeddingsOptions, type WrapOpenAIResponsesOptions, type WrapOpenAITranscriptionsOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };