@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.
- package/dist/{autoTrace-RWUOk1WF.js → autoTrace-CcKLJXBn.js} +25 -5
- package/dist/autoTrace-CcKLJXBn.js.map +1 -0
- package/dist/{autoTrace-BtiEpHTN.cjs → autoTrace-Yg2tW5p-.cjs} +25 -5
- package/dist/autoTrace-Yg2tW5p-.cjs.map +1 -0
- package/dist/autoTrace.cjs +1 -1
- package/dist/autoTrace.js +1 -1
- package/dist/{http-E8Qa7I4v.cjs → http-Bt8-MEJA.cjs} +3 -3
- package/dist/{http-E8Qa7I4v.cjs.map → http-Bt8-MEJA.cjs.map} +1 -1
- package/dist/{http-DHXjaX-W.js → http-D_HphyVw.js} +3 -3
- package/dist/{http-DHXjaX-W.js.map → http-D_HphyVw.js.map} +1 -1
- package/dist/{index-B8gVPP6Y.d.cts → index-We17b1Rc.d.cts} +58 -2
- package/dist/{index-B8gVPP6Y.d.ts → index-We17b1Rc.d.ts} +58 -2
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/node.cjs +3 -3
- package/dist/node.d.cts +2 -2
- package/dist/node.d.ts +2 -2
- package/dist/node.js +3 -3
- package/dist/registryCommand-D9EkYtKh.js.map +1 -1
- package/dist/{src-BnELQNAx.js → src-C8zuYl9-.js} +16 -5
- package/dist/src-C8zuYl9-.js.map +1 -0
- package/dist/{src-D3bpLZ98.cjs → src-D-3u3oXH.cjs} +16 -5
- package/dist/src-D-3u3oXH.cjs.map +1 -0
- package/package.json +1 -1
- package/dist/autoTrace-BtiEpHTN.cjs.map +0 -1
- package/dist/autoTrace-RWUOk1WF.js.map +0 -1
- package/dist/src-BnELQNAx.js.map +0 -1
- package/dist/src-D3bpLZ98.cjs.map +0 -1
|
@@ -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.
|
|
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 $,
|
|
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.
|
|
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 $,
|
|
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-
|
|
6
|
-
const require_http = require("./http-
|
|
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
|
|
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
|
|
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-
|
|
2
|
-
import { C as BitfabError, O as __version__, i as flushTraces, t as HttpClient, w as MixedTracingError } from "./http-
|
|
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-
|
|
6
|
-
const require_http = require("./http-
|
|
7
|
-
const require_autoTrace = require("./autoTrace-
|
|
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
|
|
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 };
|