@bitfab/sdk 0.73.1 → 0.74.1
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/{http-CNumy9Z2.js → http-DSBpxeyr.js} +2 -2
- package/dist/{http-CNumy9Z2.js.map → http-DSBpxeyr.js.map} +1 -1
- package/dist/{http-DUY2I-aR.cjs → http-k6ROO7LA.cjs} +2 -2
- package/dist/{http-DUY2I-aR.cjs.map → http-k6ROO7LA.cjs.map} +1 -1
- package/dist/{index-D0DWK_zQ.d.cts → index-BmPTyjQO.d.cts} +31 -7
- package/dist/{index-D0DWK_zQ.d.ts → index-BmPTyjQO.d.ts} +31 -7
- 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 +2 -2
- package/dist/node.d.cts +2 -2
- package/dist/node.d.ts +2 -2
- package/dist/node.js +2 -2
- package/dist/{src-W7yHj-0G.js → src-CkjZNnHR.js} +4 -4
- package/dist/{src-W7yHj-0G.js.map → src-CkjZNnHR.js.map} +1 -1
- package/dist/{src-C-veJzA9.cjs → src-DVJRiYEl.cjs} +4 -4
- package/dist/{src-C-veJzA9.cjs.map → src-DVJRiYEl.cjs.map} +1 -1
- package/package.json +1 -1
|
@@ -1988,6 +1988,13 @@ type ScenarioActualOutcome = {
|
|
|
1988
1988
|
*/
|
|
1989
1989
|
source: ScenarioSource | null;
|
|
1990
1990
|
};
|
|
1991
|
+
/**
|
|
1992
|
+
* How far building a scenario has come. `empty`: nothing has started building
|
|
1993
|
+
* it. `generating`: Bitfab is building it, or waiting for the organization's
|
|
1994
|
+
* scenario callback to save it. `created`: it is built. `error`: building it
|
|
1995
|
+
* failed, `creationError` says why, and `generateScenario` starts it again.
|
|
1996
|
+
*/
|
|
1997
|
+
type ScenarioCreationStatus = "empty" | "generating" | "created" | "error";
|
|
1991
1998
|
type Scenario = {
|
|
1992
1999
|
id: string;
|
|
1993
2000
|
createdAt: string;
|
|
@@ -1998,10 +2005,18 @@ type Scenario = {
|
|
|
1998
2005
|
extractor: "noah";
|
|
1999
2006
|
name: string;
|
|
2000
2007
|
description: string;
|
|
2001
|
-
trigger
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2008
|
+
/** The scenario's trigger, or null until it has been generated. */
|
|
2009
|
+
trigger: ScenarioTrigger | null;
|
|
2010
|
+
/** The scenario's data, or null until it has been generated. */
|
|
2011
|
+
data: ScenarioData | null;
|
|
2012
|
+
/** A summary of the trigger, or null until it has been generated. */
|
|
2013
|
+
triggerSummary: string | null;
|
|
2014
|
+
/** A summary of the data, or null until it has been generated. */
|
|
2015
|
+
dataSummary: string | null;
|
|
2016
|
+
/** How far building the scenario has come. */
|
|
2017
|
+
creationStatus: ScenarioCreationStatus;
|
|
2018
|
+
/** Why building the scenario failed, or null unless `creationStatus` is `error`. */
|
|
2019
|
+
creationError: string | null;
|
|
2005
2020
|
/** What the run actually did, or null when none has been saved. */
|
|
2006
2021
|
actualOutcome: ScenarioActualOutcome | null;
|
|
2007
2022
|
/** Every category the scenario is filed under, sorted by title. */
|
|
@@ -2198,6 +2213,8 @@ type ScenarioGeneration = {
|
|
|
2198
2213
|
traceId: string;
|
|
2199
2214
|
/** The trace's scenario, or null while it has none yet. */
|
|
2200
2215
|
scenarioId: string | null;
|
|
2216
|
+
/** `generating` once a build is started, or the scenario's status when it already had one. */
|
|
2217
|
+
creationStatus: ScenarioCreationStatus;
|
|
2201
2218
|
};
|
|
2202
2219
|
type GenerateAssertionsOptions = {
|
|
2203
2220
|
guidance?: string;
|
|
@@ -2240,10 +2257,17 @@ declare class TracesClient {
|
|
|
2240
2257
|
saveAssertionsAll(params: SaveAssertionsAllParams): Promise<SavedTraceAssertion[]>;
|
|
2241
2258
|
generateAssertions(traceId: string, options?: GenerateAssertionsOptions): Promise<TraceAssertion[]>;
|
|
2242
2259
|
archiveAssertions(params: ArchiveAssertionsParams): Promise<string[]>;
|
|
2260
|
+
/**
|
|
2261
|
+
* Read the scenario linked to a trace, in whatever state it is in. While
|
|
2262
|
+
* `creationStatus` is `generating`, read it again later; its trigger and
|
|
2263
|
+
* data stay null until it has been generated. A trace with no scenario at
|
|
2264
|
+
* all is a 404.
|
|
2265
|
+
*/
|
|
2243
2266
|
getScenario(traceId: string): Promise<Scenario>;
|
|
2244
2267
|
/**
|
|
2245
2268
|
* Start building the scenario for one trace and return at once, without
|
|
2246
|
-
* waiting for it. Read it later with `getScenario
|
|
2269
|
+
* waiting for it. Read it later with `getScenario` until its `creationStatus`
|
|
2270
|
+
* is `created` or `error`. A scenario whose build failed is started again. A trace that already has
|
|
2247
2271
|
* a scenario is left as it is. A replay, a trace outside the organization,
|
|
2248
2272
|
* or a trace Bitfab cannot build a scenario for (not `noah-agent-turn` and
|
|
2249
2273
|
* no scenario callback) is refused. Adding a trace to a dataset starts the
|
|
@@ -5284,7 +5308,7 @@ interface CommitRef {
|
|
|
5284
5308
|
/**
|
|
5285
5309
|
* SDK version from package.json (injected at build time)
|
|
5286
5310
|
*/
|
|
5287
|
-
declare const __version__ = "0.
|
|
5311
|
+
declare const __version__ = "0.74.1";
|
|
5288
5312
|
//#endregion
|
|
5289
5313
|
//#region src/constants.d.ts
|
|
5290
5314
|
/**
|
|
@@ -5426,4 +5450,4 @@ declare function seedFromRegistry(registry: ReplayRegistry, pipeline: string, ca
|
|
|
5426
5450
|
run?: boolean;
|
|
5427
5451
|
}): Promise<SeedResult>;
|
|
5428
5452
|
//#endregion
|
|
5429
|
-
export { RivetEffectType as $,
|
|
5453
|
+
export { RivetEffectType as $, TraceAssertionsResult as $n, AssertionCategorySummary as $r, LabelSource as $t, SpanMethodDecoratorContext as A, SelectiveReplayOptions as Ai, SaveAssertionsAllParams as An, DatasetsClient as Ar, LangGraphIntegrationOptions as At, getCurrentTrace as B, JustificationSpan as Bi, ScenarioCreationStatus as Bn, RerunGradersOptions as Br, GraderVerdictSource as Bt, NodeMethodDecorator as C, MixedTracingError as Ci, AssertionKind as Cn, ExperimentsClient as Cr, PiIntegrationOptions as Ct, SeedCaseOptions as D, SUPPORTED_PROVIDERS as Di, AssertionVerdictEvidence as Dn, Dataset as Dr, BitfabAgentMiddleware as Dt, ReseedResult as E, DbSnapshotRef as Ei, AssertionRewriteStatus as En, AddDatasetTracesResult as Er, BitfabOpenAIAgentHandler as Et, WrapOpenAIResponsesOptions as F, ApprovalFields as Fi, SaveScenarioParams as Fn, GraderRerunStatus as Fr, GraderLabelOutcome as Ft, TracingProcessor as G, ScenarioGeneration as Gn, BitfabLanguageModelMiddleware as Gr, AssertionVerdict as Gt, ActiveSpanContext as H, ScenarioDataAppend as Hn, SaveDatasetParams as Hr, GradersClient as Ht, WrapOpenRouterOptions as I, ApprovalState as Ii, SavedTraceAssertion as In, GraderRerunTimeoutError as Ir, GraderLabelSource as It, SpanListParams as J, ScenarioRecordInput as Jn, VercelGenerateResult as Jr, HumanVerdictOutcome as Jt, ListedSpan as K, ScenarioHistoryEntry as Kn, BitfabVercelAiHandler as Kr, HumanLabelOutcome as Kt, WrappedBamlFn as L, Approver as Li, Scenario as Ln, ListDatasetsParams as Lr, GraderLabelUpdate as Lt, WrapAnthropicOptions as M, AllowedEnvVars as Mi, SaveScenarioActualOutcome as Mn, GraderRerunError as Mr, GetGraderLabelsParams as Mt, WrapBAMLOptions as N, BamlExecutionResult as Ni, SaveScenarioData as Nn, GraderRerunProgress as Nr, GetGraderVerdictsParams as Nt, SeedRunOptions as O, ReplayNodeIdentity as Oi, GenerateAssertionsOptions as On, DatasetGraderRef as Or, BitfabLangGraphAgent as Ot, WrapJevOptions as P, ProviderDefinition as Pi, SaveScenarioHistoryEntry as Pn, GraderRerunResult as Pr, GraderLabel as Pt, RivetContextLike as Q, TraceAssertionSource as Qn, AssertionCategory as Qr, LabelOutcome as Qt, getCurrentReplayBranch as R, Assignee as Ri, ScenarioAction as Rn, RemoveDatasetGradersResult as Rr, GraderVerdict as Rt, DetachedTrace as S, BitfabError as Si, AssertionGenerationTimeoutError as Sn, ExperimentTotals as Sr, BitfabPiIntegration as St, ReseedOptions as T, DbSnapshotProvider as Ti, AssertionRewrite as Tn, AddDatasetGradersResult as Tr, OrganizationMembersClient as Tt, BitfabOpenAITracingProcessor as U, ScenarioDataOrigin as Un, SaveDatasetResult as Ur, ArchiveLabelTarget as Ut, CaptureSurface as V, ScenarioData as Vn, RerunGradersResult as Vr, GraderVerdictUpdate as Vt, TraceResponse as W, ScenarioDataSources as Wn, UpdateDatasetParams as Wr, ArchiveVerdictTarget as Wt, SpansClient as X, ScenarioTrigger as Xn, BitfabClaudeAgentHandler as Xr, LabelAction as Xt, SpanListResult as Y, ScenarioSource as Yn, VercelStreamResult as Yr, HumanVerdictUpdate as Yt, BitfabRivetIntegration as Z, TraceAssertion as Zn, AssertionCategoriesClient as Zr, LabelConfidence as Zt, BitfabConfig as _, MockOverrideResolver as _i, AssertionCode as _n, ExperimentSummaryBeforeAfter as _r, TraceIngestionType as _t, ReplayRegistryOptions as a, CapturedSpan as ai, TraceLabels as an, TraceTargetOccurrence as ar, DbBranchOptions as at, CurrentSpan as b, NodeMatcher as bi, AssertionGenerationError as bn, ExperimentSummaryResult as br, ReplayInterrupt as bt, SeedResult as c, SpanLookup as ci, VerdictAction as cn, ExperimentCategoryTally as cr, ReplayError as ct, seedFromRegistry as d, TokenUsage as di, VerdictSource as dn, ExperimentPage as dr, ReplayItemFinishProgress as dt, CategoriesClient as ei, LabelStatus as en, TraceAssertionsUpdate as er, RivetIntegrationOptions as et, finalizers as f, flushTraces as fi, VerdictStatus as fn, ExperimentRollup as fr, ReplayItemStartProgress as ft, Bitfab as g, MockOverrideInput as gi, ArchiveAssertionsParams as gn, ExperimentSummary as gr, ReplayResult as gt, CommitRef as h, MockOverrideCtx as hi, VerdictsClient as hn, ExperimentStatus as hr, ReplayProgressItem as ht, ReplayRegistryContext as i, SaveCategoryParams as ii, PassFailVerdict as in, TraceTarget as ir, BITFAB_PROGRESS_PREFIX as it, SpanOptions as j, SelectiveReplayReport as ji, SaveAssertionsParams as jn, GraderRerun as jr, BitfabLangGraphCallbackHandler as jt, SpanMethodDecorator as k, SelectiveReplayDecision as ki, SaveAssertion as kn, DatasetTraceIds as kr, BitfabLangGraphIntegration as kt, defineReplayRegistry as l, SpanOccurrence as li, VerdictConfidence as ln, ExperimentCodeChangeTotals as lr, ReplayExperiment as lt, __version__ as m, MockOverride as mi, VerdictUpdate as mn, ExperimentRunBy as mr, ReplayProgress as mt, ReplayRegistration as n, CategorySummary as ni, LabelUpdate as nn, TraceSearchParams as nr, AdaptContext as nt, ReseedRegistryResult as o, CodeChangeFile as oi, TraceVerdicts as on, TracesClient as or, DbBranchReplayError as ot, DEFAULT_SERVICE_URL as p, DbBranchTimings as pi, VerdictTarget as pn, ExperimentRollupResult as pr, ReplayOptions as pt, SpanListField as q, ScenarioRecord as qn, VercelCallParams as qr, HumanLabelUpdate as qt, ReplayRegistry as r, SaveAssertionCategoryParams as ri, LabelsClient as rn, TraceSearchResult as rr, AdaptInputsFn as rt, SeedCase as s, HttpClient as si, Verdict as sn, Experiment as sr, MockStrategy as st, ReplayOptionsFactory as t, Category as ti, LabelTarget as tn, TraceSearchFilters as tr, ReplayBranch as tt, reseedFromRegistry as u, SpanType as ui, VerdictOutcome as un, ExperimentJitter as ur, ReplayItem as ut, BitfabFunction as v, MockValue as vi, AssertionEvidenceParameter as vn, ExperimentSummaryExampleTrace as vr, reportReplayProgress as vt, NodeOptions as w, DbSnapshotConfig as wi, AssertionLabelEvidence as wn, ListExperimentsParams as wr, OrganizationMember as wt, CurrentTrace as x, SpanNodeMeta as xi, AssertionGenerationStatus as xn, ExperimentTally as xr, ReplayInterruptSignal as xt, CaptureWhen as y, NO_MOCK_OVERRIDE as yi, AssertionGeneration as yn, ExperimentSummaryFacts as yr, serializeReplayResult as yt, getCurrentSpan as z, Justification as zi, ScenarioActualOutcome as zn, RemoveDatasetTracesResult as zr, GraderVerdictOutcome as zt };
|
|
@@ -1988,6 +1988,13 @@ type ScenarioActualOutcome = {
|
|
|
1988
1988
|
*/
|
|
1989
1989
|
source: ScenarioSource | null;
|
|
1990
1990
|
};
|
|
1991
|
+
/**
|
|
1992
|
+
* How far building a scenario has come. `empty`: nothing has started building
|
|
1993
|
+
* it. `generating`: Bitfab is building it, or waiting for the organization's
|
|
1994
|
+
* scenario callback to save it. `created`: it is built. `error`: building it
|
|
1995
|
+
* failed, `creationError` says why, and `generateScenario` starts it again.
|
|
1996
|
+
*/
|
|
1997
|
+
type ScenarioCreationStatus = "empty" | "generating" | "created" | "error";
|
|
1991
1998
|
type Scenario = {
|
|
1992
1999
|
id: string;
|
|
1993
2000
|
createdAt: string;
|
|
@@ -1998,10 +2005,18 @@ type Scenario = {
|
|
|
1998
2005
|
extractor: "noah";
|
|
1999
2006
|
name: string;
|
|
2000
2007
|
description: string;
|
|
2001
|
-
trigger
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2008
|
+
/** The scenario's trigger, or null until it has been generated. */
|
|
2009
|
+
trigger: ScenarioTrigger | null;
|
|
2010
|
+
/** The scenario's data, or null until it has been generated. */
|
|
2011
|
+
data: ScenarioData | null;
|
|
2012
|
+
/** A summary of the trigger, or null until it has been generated. */
|
|
2013
|
+
triggerSummary: string | null;
|
|
2014
|
+
/** A summary of the data, or null until it has been generated. */
|
|
2015
|
+
dataSummary: string | null;
|
|
2016
|
+
/** How far building the scenario has come. */
|
|
2017
|
+
creationStatus: ScenarioCreationStatus;
|
|
2018
|
+
/** Why building the scenario failed, or null unless `creationStatus` is `error`. */
|
|
2019
|
+
creationError: string | null;
|
|
2005
2020
|
/** What the run actually did, or null when none has been saved. */
|
|
2006
2021
|
actualOutcome: ScenarioActualOutcome | null;
|
|
2007
2022
|
/** Every category the scenario is filed under, sorted by title. */
|
|
@@ -2198,6 +2213,8 @@ type ScenarioGeneration = {
|
|
|
2198
2213
|
traceId: string;
|
|
2199
2214
|
/** The trace's scenario, or null while it has none yet. */
|
|
2200
2215
|
scenarioId: string | null;
|
|
2216
|
+
/** `generating` once a build is started, or the scenario's status when it already had one. */
|
|
2217
|
+
creationStatus: ScenarioCreationStatus;
|
|
2201
2218
|
};
|
|
2202
2219
|
type GenerateAssertionsOptions = {
|
|
2203
2220
|
guidance?: string;
|
|
@@ -2240,10 +2257,17 @@ declare class TracesClient {
|
|
|
2240
2257
|
saveAssertionsAll(params: SaveAssertionsAllParams): Promise<SavedTraceAssertion[]>;
|
|
2241
2258
|
generateAssertions(traceId: string, options?: GenerateAssertionsOptions): Promise<TraceAssertion[]>;
|
|
2242
2259
|
archiveAssertions(params: ArchiveAssertionsParams): Promise<string[]>;
|
|
2260
|
+
/**
|
|
2261
|
+
* Read the scenario linked to a trace, in whatever state it is in. While
|
|
2262
|
+
* `creationStatus` is `generating`, read it again later; its trigger and
|
|
2263
|
+
* data stay null until it has been generated. A trace with no scenario at
|
|
2264
|
+
* all is a 404.
|
|
2265
|
+
*/
|
|
2243
2266
|
getScenario(traceId: string): Promise<Scenario>;
|
|
2244
2267
|
/**
|
|
2245
2268
|
* Start building the scenario for one trace and return at once, without
|
|
2246
|
-
* waiting for it. Read it later with `getScenario
|
|
2269
|
+
* waiting for it. Read it later with `getScenario` until its `creationStatus`
|
|
2270
|
+
* is `created` or `error`. A scenario whose build failed is started again. A trace that already has
|
|
2247
2271
|
* a scenario is left as it is. A replay, a trace outside the organization,
|
|
2248
2272
|
* or a trace Bitfab cannot build a scenario for (not `noah-agent-turn` and
|
|
2249
2273
|
* no scenario callback) is refused. Adding a trace to a dataset starts the
|
|
@@ -5284,7 +5308,7 @@ interface CommitRef {
|
|
|
5284
5308
|
/**
|
|
5285
5309
|
* SDK version from package.json (injected at build time)
|
|
5286
5310
|
*/
|
|
5287
|
-
declare const __version__ = "0.
|
|
5311
|
+
declare const __version__ = "0.74.1";
|
|
5288
5312
|
//#endregion
|
|
5289
5313
|
//#region src/constants.d.ts
|
|
5290
5314
|
/**
|
|
@@ -5426,4 +5450,4 @@ declare function seedFromRegistry(registry: ReplayRegistry, pipeline: string, ca
|
|
|
5426
5450
|
run?: boolean;
|
|
5427
5451
|
}): Promise<SeedResult>;
|
|
5428
5452
|
//#endregion
|
|
5429
|
-
export { RivetEffectType as $,
|
|
5453
|
+
export { RivetEffectType as $, TraceAssertionsResult as $n, AssertionCategorySummary as $r, LabelSource as $t, SpanMethodDecoratorContext as A, SelectiveReplayOptions as Ai, SaveAssertionsAllParams as An, DatasetsClient as Ar, LangGraphIntegrationOptions as At, getCurrentTrace as B, JustificationSpan as Bi, ScenarioCreationStatus as Bn, RerunGradersOptions as Br, GraderVerdictSource as Bt, NodeMethodDecorator as C, MixedTracingError as Ci, AssertionKind as Cn, ExperimentsClient as Cr, PiIntegrationOptions as Ct, SeedCaseOptions as D, SUPPORTED_PROVIDERS as Di, AssertionVerdictEvidence as Dn, Dataset as Dr, BitfabAgentMiddleware as Dt, ReseedResult as E, DbSnapshotRef as Ei, AssertionRewriteStatus as En, AddDatasetTracesResult as Er, BitfabOpenAIAgentHandler as Et, WrapOpenAIResponsesOptions as F, ApprovalFields as Fi, SaveScenarioParams as Fn, GraderRerunStatus as Fr, GraderLabelOutcome as Ft, TracingProcessor as G, ScenarioGeneration as Gn, BitfabLanguageModelMiddleware as Gr, AssertionVerdict as Gt, ActiveSpanContext as H, ScenarioDataAppend as Hn, SaveDatasetParams as Hr, GradersClient as Ht, WrapOpenRouterOptions as I, ApprovalState as Ii, SavedTraceAssertion as In, GraderRerunTimeoutError as Ir, GraderLabelSource as It, SpanListParams as J, ScenarioRecordInput as Jn, VercelGenerateResult as Jr, HumanVerdictOutcome as Jt, ListedSpan as K, ScenarioHistoryEntry as Kn, BitfabVercelAiHandler as Kr, HumanLabelOutcome as Kt, WrappedBamlFn as L, Approver as Li, Scenario as Ln, ListDatasetsParams as Lr, GraderLabelUpdate as Lt, WrapAnthropicOptions as M, AllowedEnvVars as Mi, SaveScenarioActualOutcome as Mn, GraderRerunError as Mr, GetGraderLabelsParams as Mt, WrapBAMLOptions as N, BamlExecutionResult as Ni, SaveScenarioData as Nn, GraderRerunProgress as Nr, GetGraderVerdictsParams as Nt, SeedRunOptions as O, ReplayNodeIdentity as Oi, GenerateAssertionsOptions as On, DatasetGraderRef as Or, BitfabLangGraphAgent as Ot, WrapJevOptions as P, ProviderDefinition as Pi, SaveScenarioHistoryEntry as Pn, GraderRerunResult as Pr, GraderLabel as Pt, RivetContextLike as Q, TraceAssertionSource as Qn, AssertionCategory as Qr, LabelOutcome as Qt, getCurrentReplayBranch as R, Assignee as Ri, ScenarioAction as Rn, RemoveDatasetGradersResult as Rr, GraderVerdict as Rt, DetachedTrace as S, BitfabError as Si, AssertionGenerationTimeoutError as Sn, ExperimentTotals as Sr, BitfabPiIntegration as St, ReseedOptions as T, DbSnapshotProvider as Ti, AssertionRewrite as Tn, AddDatasetGradersResult as Tr, OrganizationMembersClient as Tt, BitfabOpenAITracingProcessor as U, ScenarioDataOrigin as Un, SaveDatasetResult as Ur, ArchiveLabelTarget as Ut, CaptureSurface as V, ScenarioData as Vn, RerunGradersResult as Vr, GraderVerdictUpdate as Vt, TraceResponse as W, ScenarioDataSources as Wn, UpdateDatasetParams as Wr, ArchiveVerdictTarget as Wt, SpansClient as X, ScenarioTrigger as Xn, BitfabClaudeAgentHandler as Xr, LabelAction as Xt, SpanListResult as Y, ScenarioSource as Yn, VercelStreamResult as Yr, HumanVerdictUpdate as Yt, BitfabRivetIntegration as Z, TraceAssertion as Zn, AssertionCategoriesClient as Zr, LabelConfidence as Zt, BitfabConfig as _, MockOverrideResolver as _i, AssertionCode as _n, ExperimentSummaryBeforeAfter as _r, TraceIngestionType as _t, ReplayRegistryOptions as a, CapturedSpan as ai, TraceLabels as an, TraceTargetOccurrence as ar, DbBranchOptions as at, CurrentSpan as b, NodeMatcher as bi, AssertionGenerationError as bn, ExperimentSummaryResult as br, ReplayInterrupt as bt, SeedResult as c, SpanLookup as ci, VerdictAction as cn, ExperimentCategoryTally as cr, ReplayError as ct, seedFromRegistry as d, TokenUsage as di, VerdictSource as dn, ExperimentPage as dr, ReplayItemFinishProgress as dt, CategoriesClient as ei, LabelStatus as en, TraceAssertionsUpdate as er, RivetIntegrationOptions as et, finalizers as f, flushTraces as fi, VerdictStatus as fn, ExperimentRollup as fr, ReplayItemStartProgress as ft, Bitfab as g, MockOverrideInput as gi, ArchiveAssertionsParams as gn, ExperimentSummary as gr, ReplayResult as gt, CommitRef as h, MockOverrideCtx as hi, VerdictsClient as hn, ExperimentStatus as hr, ReplayProgressItem as ht, ReplayRegistryContext as i, SaveCategoryParams as ii, PassFailVerdict as in, TraceTarget as ir, BITFAB_PROGRESS_PREFIX as it, SpanOptions as j, SelectiveReplayReport as ji, SaveAssertionsParams as jn, GraderRerun as jr, BitfabLangGraphCallbackHandler as jt, SpanMethodDecorator as k, SelectiveReplayDecision as ki, SaveAssertion as kn, DatasetTraceIds as kr, BitfabLangGraphIntegration as kt, defineReplayRegistry as l, SpanOccurrence as li, VerdictConfidence as ln, ExperimentCodeChangeTotals as lr, ReplayExperiment as lt, __version__ as m, MockOverride as mi, VerdictUpdate as mn, ExperimentRunBy as mr, ReplayProgress as mt, ReplayRegistration as n, CategorySummary as ni, LabelUpdate as nn, TraceSearchParams as nr, AdaptContext as nt, ReseedRegistryResult as o, CodeChangeFile as oi, TraceVerdicts as on, TracesClient as or, DbBranchReplayError as ot, DEFAULT_SERVICE_URL as p, DbBranchTimings as pi, VerdictTarget as pn, ExperimentRollupResult as pr, ReplayOptions as pt, SpanListField as q, ScenarioRecord as qn, VercelCallParams as qr, HumanLabelUpdate as qt, ReplayRegistry as r, SaveAssertionCategoryParams as ri, LabelsClient as rn, TraceSearchResult as rr, AdaptInputsFn as rt, SeedCase as s, HttpClient as si, Verdict as sn, Experiment as sr, MockStrategy as st, ReplayOptionsFactory as t, Category as ti, LabelTarget as tn, TraceSearchFilters as tr, ReplayBranch as tt, reseedFromRegistry as u, SpanType as ui, VerdictOutcome as un, ExperimentJitter as ur, ReplayItem as ut, BitfabFunction as v, MockValue as vi, AssertionEvidenceParameter as vn, ExperimentSummaryExampleTrace as vr, reportReplayProgress as vt, NodeOptions as w, DbSnapshotConfig as wi, AssertionLabelEvidence as wn, ListExperimentsParams as wr, OrganizationMember as wt, CurrentTrace as x, SpanNodeMeta as xi, AssertionGenerationStatus as xn, ExperimentTally as xr, ReplayInterruptSignal as xt, CaptureWhen as y, NO_MOCK_OVERRIDE as yi, AssertionGeneration as yn, ExperimentSummaryFacts as yr, serializeReplayResult as yt, getCurrentSpan as z, Justification as zi, ScenarioActualOutcome as zn, RemoveDatasetTracesResult as zr, GraderVerdictOutcome as zt };
|
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-DVJRiYEl.cjs");
|
|
6
|
+
const require_http = require("./http-k6ROO7LA.cjs");
|
|
7
7
|
exports.AssertionCategoriesClient = require_src.AssertionCategoriesClient;
|
|
8
8
|
exports.AssertionGenerationError = require_src.AssertionGenerationError;
|
|
9
9
|
exports.AssertionGenerationTimeoutError = require_src.AssertionGenerationTimeoutError;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as RivetEffectType, $n as
|
|
2
|
-
export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionCode, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionKind, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type PiIntegrationOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
|
|
1
|
+
import { $ as RivetEffectType, $n as TraceAssertionsResult, $r as AssertionCategorySummary, $t as LabelSource, A as SpanMethodDecoratorContext, Ai as SelectiveReplayOptions, An as SaveAssertionsAllParams, Ar as DatasetsClient, At as LangGraphIntegrationOptions, B as getCurrentTrace, Bi as JustificationSpan, Bn as ScenarioCreationStatus, Br as RerunGradersOptions, Bt as GraderVerdictSource, C as NodeMethodDecorator, Ci as MixedTracingError, Cn as AssertionKind, Cr as ExperimentsClient, Ct as PiIntegrationOptions, D as SeedCaseOptions, Di as SUPPORTED_PROVIDERS, Dn as AssertionVerdictEvidence, Dr as Dataset, Dt as BitfabAgentMiddleware, E as ReseedResult, Ei as DbSnapshotRef, En as AssertionRewriteStatus, Er as AddDatasetTracesResult, Et as BitfabOpenAIAgentHandler, F as WrapOpenAIResponsesOptions, Fi as ApprovalFields, Fn as SaveScenarioParams, Fr as GraderRerunStatus, Ft as GraderLabelOutcome, G as TracingProcessor, Gn as ScenarioGeneration, Gr as BitfabLanguageModelMiddleware, Gt as AssertionVerdict, H as ActiveSpanContext, Hn as ScenarioDataAppend, Hr as SaveDatasetParams, Ht as GradersClient, I as WrapOpenRouterOptions, Ii as ApprovalState, In as SavedTraceAssertion, Ir as GraderRerunTimeoutError, It as GraderLabelSource, J as SpanListParams, Jn as ScenarioRecordInput, Jr as VercelGenerateResult, Jt as HumanVerdictOutcome, K as ListedSpan, Kn as ScenarioHistoryEntry, Kr as BitfabVercelAiHandler, Kt as HumanLabelOutcome, L as WrappedBamlFn, Li as Approver, Ln as Scenario, Lr as ListDatasetsParams, Lt as GraderLabelUpdate, M as WrapAnthropicOptions, Mi as AllowedEnvVars, Mn as SaveScenarioActualOutcome, Mr as GraderRerunError, Mt as GetGraderLabelsParams, N as WrapBAMLOptions, Ni as BamlExecutionResult, Nn as SaveScenarioData, Nr as GraderRerunProgress, Nt as GetGraderVerdictsParams, O as SeedRunOptions, Oi as ReplayNodeIdentity, On as GenerateAssertionsOptions, Or as DatasetGraderRef, Ot as BitfabLangGraphAgent, P as WrapJevOptions, Pi as ProviderDefinition, Pn as SaveScenarioHistoryEntry, Pr as GraderRerunResult, Pt as GraderLabel, Q as RivetContextLike, Qn as TraceAssertionSource, Qr as AssertionCategory, Qt as LabelOutcome, R as getCurrentReplayBranch, Ri as Assignee, Rn as ScenarioAction, Rr as RemoveDatasetGradersResult, Rt as GraderVerdict, S as DetachedTrace, Si as BitfabError, Sn as AssertionGenerationTimeoutError, Sr as ExperimentTotals, St as BitfabPiIntegration, T as ReseedOptions, Ti as DbSnapshotProvider, Tn as AssertionRewrite, Tr as AddDatasetGradersResult, Tt as OrganizationMembersClient, U as BitfabOpenAITracingProcessor, Un as ScenarioDataOrigin, Ur as SaveDatasetResult, Ut as ArchiveLabelTarget, V as CaptureSurface, Vn as ScenarioData, Vr as RerunGradersResult, Vt as GraderVerdictUpdate, W as TraceResponse, Wn as ScenarioDataSources, Wr as UpdateDatasetParams, Wt as ArchiveVerdictTarget, X as SpansClient, Xn as ScenarioTrigger, Xr as BitfabClaudeAgentHandler, Xt as LabelAction, Y as SpanListResult, Yn as ScenarioSource, Yr as VercelStreamResult, Yt as HumanVerdictUpdate, Z as BitfabRivetIntegration, Zn as TraceAssertion, Zr as AssertionCategoriesClient, Zt as LabelConfidence, _ as BitfabConfig, _i as MockOverrideResolver, _n as AssertionCode, _r as ExperimentSummaryBeforeAfter, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as CapturedSpan, an as TraceLabels, ar as TraceTargetOccurrence, at as DbBranchOptions, b as CurrentSpan, bi as NodeMatcher, bn as AssertionGenerationError, br as ExperimentSummaryResult, bt as ReplayInterrupt, c as SeedResult, ci as SpanLookup, cn as VerdictAction, cr as ExperimentCategoryTally, ct as ReplayError, d as seedFromRegistry, di as TokenUsage, dn as VerdictSource, dr as ExperimentPage, dt as ReplayItemFinishProgress, ei as CategoriesClient, en as LabelStatus, er as TraceAssertionsUpdate, et as RivetIntegrationOptions, f as finalizers, fi as flushTraces, fn as VerdictStatus, fr as ExperimentRollup, ft as ReplayItemStartProgress, g as Bitfab, gi as MockOverrideInput, gn as ArchiveAssertionsParams, gr as ExperimentSummary, gt as ReplayResult, h as CommitRef, hi as MockOverrideCtx, hn as VerdictsClient, hr as ExperimentStatus, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as SaveCategoryParams, in as PassFailVerdict, ir as TraceTarget, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, ji as SelectiveReplayReport, jn as SaveAssertionsParams, jr as GraderRerun, jt as BitfabLangGraphCallbackHandler, k as SpanMethodDecorator, ki as SelectiveReplayDecision, kn as SaveAssertion, kr as DatasetTraceIds, kt as BitfabLangGraphIntegration, l as defineReplayRegistry, li as SpanOccurrence, ln as VerdictConfidence, lr as ExperimentCodeChangeTotals, lt as ReplayExperiment, m as __version__, mi as MockOverride, mn as VerdictUpdate, mr as ExperimentRunBy, mt as ReplayProgress, n as ReplayRegistration, ni as CategorySummary, nn as LabelUpdate, nr as TraceSearchParams, nt as AdaptContext, o as ReseedRegistryResult, oi as CodeChangeFile, on as TraceVerdicts, or as TracesClient, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as DbBranchTimings, pn as VerdictTarget, pr as ExperimentRollupResult, pt as ReplayOptions, q as SpanListField, qn as ScenarioRecord, qr as VercelCallParams, qt as HumanLabelUpdate, r as ReplayRegistry, ri as SaveAssertionCategoryParams, rn as LabelsClient, rr as TraceSearchResult, rt as AdaptInputsFn, s as SeedCase, si as HttpClient, sn as Verdict, sr as Experiment, st as MockStrategy, t as ReplayOptionsFactory, ti as Category, tn as LabelTarget, tr as TraceSearchFilters, tt as ReplayBranch, u as reseedFromRegistry, ui as SpanType, un as VerdictOutcome, ur as ExperimentJitter, ut as ReplayItem, v as BitfabFunction, vi as MockValue, vn as AssertionEvidenceParameter, vr as ExperimentSummaryExampleTrace, vt as reportReplayProgress, w as NodeOptions, wi as DbSnapshotConfig, wn as AssertionLabelEvidence, wr as ListExperimentsParams, wt as OrganizationMember, x as CurrentTrace, xi as SpanNodeMeta, xn as AssertionGenerationStatus, xr as ExperimentTally, xt as ReplayInterruptSignal, y as CaptureWhen, yi as NO_MOCK_OVERRIDE, yn as AssertionGeneration, yr as ExperimentSummaryFacts, yt as serializeReplayResult, z as getCurrentSpan, zi as Justification, zn as ScenarioActualOutcome, zr as RemoveDatasetTracesResult, zt as GraderVerdictOutcome } from "./index-BmPTyjQO.cjs";
|
|
2
|
+
export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionCode, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionKind, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type PiIntegrationOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioCreationStatus, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as RivetEffectType, $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 AssertionKind, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type PiIntegrationOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
|
|
1
|
+
import { $ as RivetEffectType, $n as TraceAssertionsResult, $r as AssertionCategorySummary, $t as LabelSource, A as SpanMethodDecoratorContext, Ai as SelectiveReplayOptions, An as SaveAssertionsAllParams, Ar as DatasetsClient, At as LangGraphIntegrationOptions, B as getCurrentTrace, Bi as JustificationSpan, Bn as ScenarioCreationStatus, Br as RerunGradersOptions, Bt as GraderVerdictSource, C as NodeMethodDecorator, Ci as MixedTracingError, Cn as AssertionKind, Cr as ExperimentsClient, Ct as PiIntegrationOptions, D as SeedCaseOptions, Di as SUPPORTED_PROVIDERS, Dn as AssertionVerdictEvidence, Dr as Dataset, Dt as BitfabAgentMiddleware, E as ReseedResult, Ei as DbSnapshotRef, En as AssertionRewriteStatus, Er as AddDatasetTracesResult, Et as BitfabOpenAIAgentHandler, F as WrapOpenAIResponsesOptions, Fi as ApprovalFields, Fn as SaveScenarioParams, Fr as GraderRerunStatus, Ft as GraderLabelOutcome, G as TracingProcessor, Gn as ScenarioGeneration, Gr as BitfabLanguageModelMiddleware, Gt as AssertionVerdict, H as ActiveSpanContext, Hn as ScenarioDataAppend, Hr as SaveDatasetParams, Ht as GradersClient, I as WrapOpenRouterOptions, Ii as ApprovalState, In as SavedTraceAssertion, Ir as GraderRerunTimeoutError, It as GraderLabelSource, J as SpanListParams, Jn as ScenarioRecordInput, Jr as VercelGenerateResult, Jt as HumanVerdictOutcome, K as ListedSpan, Kn as ScenarioHistoryEntry, Kr as BitfabVercelAiHandler, Kt as HumanLabelOutcome, L as WrappedBamlFn, Li as Approver, Ln as Scenario, Lr as ListDatasetsParams, Lt as GraderLabelUpdate, M as WrapAnthropicOptions, Mi as AllowedEnvVars, Mn as SaveScenarioActualOutcome, Mr as GraderRerunError, Mt as GetGraderLabelsParams, N as WrapBAMLOptions, Ni as BamlExecutionResult, Nn as SaveScenarioData, Nr as GraderRerunProgress, Nt as GetGraderVerdictsParams, O as SeedRunOptions, Oi as ReplayNodeIdentity, On as GenerateAssertionsOptions, Or as DatasetGraderRef, Ot as BitfabLangGraphAgent, P as WrapJevOptions, Pi as ProviderDefinition, Pn as SaveScenarioHistoryEntry, Pr as GraderRerunResult, Pt as GraderLabel, Q as RivetContextLike, Qn as TraceAssertionSource, Qr as AssertionCategory, Qt as LabelOutcome, R as getCurrentReplayBranch, Ri as Assignee, Rn as ScenarioAction, Rr as RemoveDatasetGradersResult, Rt as GraderVerdict, S as DetachedTrace, Si as BitfabError, Sn as AssertionGenerationTimeoutError, Sr as ExperimentTotals, St as BitfabPiIntegration, T as ReseedOptions, Ti as DbSnapshotProvider, Tn as AssertionRewrite, Tr as AddDatasetGradersResult, Tt as OrganizationMembersClient, U as BitfabOpenAITracingProcessor, Un as ScenarioDataOrigin, Ur as SaveDatasetResult, Ut as ArchiveLabelTarget, V as CaptureSurface, Vn as ScenarioData, Vr as RerunGradersResult, Vt as GraderVerdictUpdate, W as TraceResponse, Wn as ScenarioDataSources, Wr as UpdateDatasetParams, Wt as ArchiveVerdictTarget, X as SpansClient, Xn as ScenarioTrigger, Xr as BitfabClaudeAgentHandler, Xt as LabelAction, Y as SpanListResult, Yn as ScenarioSource, Yr as VercelStreamResult, Yt as HumanVerdictUpdate, Z as BitfabRivetIntegration, Zn as TraceAssertion, Zr as AssertionCategoriesClient, Zt as LabelConfidence, _ as BitfabConfig, _i as MockOverrideResolver, _n as AssertionCode, _r as ExperimentSummaryBeforeAfter, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as CapturedSpan, an as TraceLabels, ar as TraceTargetOccurrence, at as DbBranchOptions, b as CurrentSpan, bi as NodeMatcher, bn as AssertionGenerationError, br as ExperimentSummaryResult, bt as ReplayInterrupt, c as SeedResult, ci as SpanLookup, cn as VerdictAction, cr as ExperimentCategoryTally, ct as ReplayError, d as seedFromRegistry, di as TokenUsage, dn as VerdictSource, dr as ExperimentPage, dt as ReplayItemFinishProgress, ei as CategoriesClient, en as LabelStatus, er as TraceAssertionsUpdate, et as RivetIntegrationOptions, f as finalizers, fi as flushTraces, fn as VerdictStatus, fr as ExperimentRollup, ft as ReplayItemStartProgress, g as Bitfab, gi as MockOverrideInput, gn as ArchiveAssertionsParams, gr as ExperimentSummary, gt as ReplayResult, h as CommitRef, hi as MockOverrideCtx, hn as VerdictsClient, hr as ExperimentStatus, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as SaveCategoryParams, in as PassFailVerdict, ir as TraceTarget, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, ji as SelectiveReplayReport, jn as SaveAssertionsParams, jr as GraderRerun, jt as BitfabLangGraphCallbackHandler, k as SpanMethodDecorator, ki as SelectiveReplayDecision, kn as SaveAssertion, kr as DatasetTraceIds, kt as BitfabLangGraphIntegration, l as defineReplayRegistry, li as SpanOccurrence, ln as VerdictConfidence, lr as ExperimentCodeChangeTotals, lt as ReplayExperiment, m as __version__, mi as MockOverride, mn as VerdictUpdate, mr as ExperimentRunBy, mt as ReplayProgress, n as ReplayRegistration, ni as CategorySummary, nn as LabelUpdate, nr as TraceSearchParams, nt as AdaptContext, o as ReseedRegistryResult, oi as CodeChangeFile, on as TraceVerdicts, or as TracesClient, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as DbBranchTimings, pn as VerdictTarget, pr as ExperimentRollupResult, pt as ReplayOptions, q as SpanListField, qn as ScenarioRecord, qr as VercelCallParams, qt as HumanLabelUpdate, r as ReplayRegistry, ri as SaveAssertionCategoryParams, rn as LabelsClient, rr as TraceSearchResult, rt as AdaptInputsFn, s as SeedCase, si as HttpClient, sn as Verdict, sr as Experiment, st as MockStrategy, t as ReplayOptionsFactory, ti as Category, tn as LabelTarget, tr as TraceSearchFilters, tt as ReplayBranch, u as reseedFromRegistry, ui as SpanType, un as VerdictOutcome, ur as ExperimentJitter, ut as ReplayItem, v as BitfabFunction, vi as MockValue, vn as AssertionEvidenceParameter, vr as ExperimentSummaryExampleTrace, vt as reportReplayProgress, w as NodeOptions, wi as DbSnapshotConfig, wn as AssertionLabelEvidence, wr as ListExperimentsParams, wt as OrganizationMember, x as CurrentTrace, xi as SpanNodeMeta, xn as AssertionGenerationStatus, xr as ExperimentTally, xt as ReplayInterruptSignal, y as CaptureWhen, yi as NO_MOCK_OVERRIDE, yn as AssertionGeneration, yr as ExperimentSummaryFacts, yt as serializeReplayResult, z as getCurrentSpan, zi as Justification, zn as ScenarioActualOutcome, zr as RemoveDatasetTracesResult, zt as GraderVerdictOutcome } from "./index-BmPTyjQO.js";
|
|
2
|
+
export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionCode, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionKind, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type PiIntegrationOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioCreationStatus, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
|
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, E 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-CkjZNnHR.js";
|
|
2
|
+
import { C as BitfabError, E as __version__, i as flushTraces, t as HttpClient, w as MixedTracingError } from "./http-DSBpxeyr.js";
|
|
3
3
|
export { AssertionCategoriesClient, AssertionGenerationError, AssertionGenerationTimeoutError, BITFAB_PROGRESS_PREFIX, Bitfab, BitfabClaudeAgentHandler, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, CategoriesClient, DEFAULT_SERVICE_URL, DatasetsClient, DbBranchReplayError, ExperimentsClient, GraderRerunError, GraderRerunTimeoutError, GradersClient, HttpClient, LabelsClient, MixedTracingError, NO_MOCK_OVERRIDE, OrganizationMembersClient, ReplayError, SUPPORTED_PROVIDERS, SpansClient, TracesClient, VerdictsClient, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
|
package/dist/node.cjs
CHANGED
|
@@ -2,8 +2,8 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_src = require("./src-
|
|
6
|
-
const require_http = require("./http-
|
|
5
|
+
const require_src = require("./src-DVJRiYEl.cjs");
|
|
6
|
+
const require_http = require("./http-k6ROO7LA.cjs");
|
|
7
7
|
const require_autoTrace = require("./autoTrace-DPWV1Xzr.cjs");
|
|
8
8
|
let async_hooks = require("async_hooks");
|
|
9
9
|
//#region src/asyncStorageNode.ts
|
package/dist/node.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as RivetEffectType, $n as
|
|
2
|
-
export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionCode, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionKind, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type PiIntegrationOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
|
|
1
|
+
import { $ as RivetEffectType, $n as TraceAssertionsResult, $r as AssertionCategorySummary, $t as LabelSource, A as SpanMethodDecoratorContext, Ai as SelectiveReplayOptions, An as SaveAssertionsAllParams, Ar as DatasetsClient, At as LangGraphIntegrationOptions, B as getCurrentTrace, Bi as JustificationSpan, Bn as ScenarioCreationStatus, Br as RerunGradersOptions, Bt as GraderVerdictSource, C as NodeMethodDecorator, Ci as MixedTracingError, Cn as AssertionKind, Cr as ExperimentsClient, Ct as PiIntegrationOptions, D as SeedCaseOptions, Di as SUPPORTED_PROVIDERS, Dn as AssertionVerdictEvidence, Dr as Dataset, Dt as BitfabAgentMiddleware, E as ReseedResult, Ei as DbSnapshotRef, En as AssertionRewriteStatus, Er as AddDatasetTracesResult, Et as BitfabOpenAIAgentHandler, F as WrapOpenAIResponsesOptions, Fi as ApprovalFields, Fn as SaveScenarioParams, Fr as GraderRerunStatus, Ft as GraderLabelOutcome, G as TracingProcessor, Gn as ScenarioGeneration, Gr as BitfabLanguageModelMiddleware, Gt as AssertionVerdict, H as ActiveSpanContext, Hn as ScenarioDataAppend, Hr as SaveDatasetParams, Ht as GradersClient, I as WrapOpenRouterOptions, Ii as ApprovalState, In as SavedTraceAssertion, Ir as GraderRerunTimeoutError, It as GraderLabelSource, J as SpanListParams, Jn as ScenarioRecordInput, Jr as VercelGenerateResult, Jt as HumanVerdictOutcome, K as ListedSpan, Kn as ScenarioHistoryEntry, Kr as BitfabVercelAiHandler, Kt as HumanLabelOutcome, L as WrappedBamlFn, Li as Approver, Ln as Scenario, Lr as ListDatasetsParams, Lt as GraderLabelUpdate, M as WrapAnthropicOptions, Mi as AllowedEnvVars, Mn as SaveScenarioActualOutcome, Mr as GraderRerunError, Mt as GetGraderLabelsParams, N as WrapBAMLOptions, Ni as BamlExecutionResult, Nn as SaveScenarioData, Nr as GraderRerunProgress, Nt as GetGraderVerdictsParams, O as SeedRunOptions, Oi as ReplayNodeIdentity, On as GenerateAssertionsOptions, Or as DatasetGraderRef, Ot as BitfabLangGraphAgent, P as WrapJevOptions, Pi as ProviderDefinition, Pn as SaveScenarioHistoryEntry, Pr as GraderRerunResult, Pt as GraderLabel, Q as RivetContextLike, Qn as TraceAssertionSource, Qr as AssertionCategory, Qt as LabelOutcome, R as getCurrentReplayBranch, Ri as Assignee, Rn as ScenarioAction, Rr as RemoveDatasetGradersResult, Rt as GraderVerdict, S as DetachedTrace, Si as BitfabError, Sn as AssertionGenerationTimeoutError, Sr as ExperimentTotals, St as BitfabPiIntegration, T as ReseedOptions, Ti as DbSnapshotProvider, Tn as AssertionRewrite, Tr as AddDatasetGradersResult, Tt as OrganizationMembersClient, U as BitfabOpenAITracingProcessor, Un as ScenarioDataOrigin, Ur as SaveDatasetResult, Ut as ArchiveLabelTarget, V as CaptureSurface, Vn as ScenarioData, Vr as RerunGradersResult, Vt as GraderVerdictUpdate, W as TraceResponse, Wn as ScenarioDataSources, Wr as UpdateDatasetParams, Wt as ArchiveVerdictTarget, X as SpansClient, Xn as ScenarioTrigger, Xr as BitfabClaudeAgentHandler, Xt as LabelAction, Y as SpanListResult, Yn as ScenarioSource, Yr as VercelStreamResult, Yt as HumanVerdictUpdate, Z as BitfabRivetIntegration, Zn as TraceAssertion, Zr as AssertionCategoriesClient, Zt as LabelConfidence, _ as BitfabConfig, _i as MockOverrideResolver, _n as AssertionCode, _r as ExperimentSummaryBeforeAfter, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as CapturedSpan, an as TraceLabels, ar as TraceTargetOccurrence, at as DbBranchOptions, b as CurrentSpan, bi as NodeMatcher, bn as AssertionGenerationError, br as ExperimentSummaryResult, bt as ReplayInterrupt, c as SeedResult, ci as SpanLookup, cn as VerdictAction, cr as ExperimentCategoryTally, ct as ReplayError, d as seedFromRegistry, di as TokenUsage, dn as VerdictSource, dr as ExperimentPage, dt as ReplayItemFinishProgress, ei as CategoriesClient, en as LabelStatus, er as TraceAssertionsUpdate, et as RivetIntegrationOptions, f as finalizers, fi as flushTraces, fn as VerdictStatus, fr as ExperimentRollup, ft as ReplayItemStartProgress, g as Bitfab, gi as MockOverrideInput, gn as ArchiveAssertionsParams, gr as ExperimentSummary, gt as ReplayResult, h as CommitRef, hi as MockOverrideCtx, hn as VerdictsClient, hr as ExperimentStatus, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as SaveCategoryParams, in as PassFailVerdict, ir as TraceTarget, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, ji as SelectiveReplayReport, jn as SaveAssertionsParams, jr as GraderRerun, jt as BitfabLangGraphCallbackHandler, k as SpanMethodDecorator, ki as SelectiveReplayDecision, kn as SaveAssertion, kr as DatasetTraceIds, kt as BitfabLangGraphIntegration, l as defineReplayRegistry, li as SpanOccurrence, ln as VerdictConfidence, lr as ExperimentCodeChangeTotals, lt as ReplayExperiment, m as __version__, mi as MockOverride, mn as VerdictUpdate, mr as ExperimentRunBy, mt as ReplayProgress, n as ReplayRegistration, ni as CategorySummary, nn as LabelUpdate, nr as TraceSearchParams, nt as AdaptContext, o as ReseedRegistryResult, oi as CodeChangeFile, on as TraceVerdicts, or as TracesClient, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as DbBranchTimings, pn as VerdictTarget, pr as ExperimentRollupResult, pt as ReplayOptions, q as SpanListField, qn as ScenarioRecord, qr as VercelCallParams, qt as HumanLabelUpdate, r as ReplayRegistry, ri as SaveAssertionCategoryParams, rn as LabelsClient, rr as TraceSearchResult, rt as AdaptInputsFn, s as SeedCase, si as HttpClient, sn as Verdict, sr as Experiment, st as MockStrategy, t as ReplayOptionsFactory, ti as Category, tn as LabelTarget, tr as TraceSearchFilters, tt as ReplayBranch, u as reseedFromRegistry, ui as SpanType, un as VerdictOutcome, ur as ExperimentJitter, ut as ReplayItem, v as BitfabFunction, vi as MockValue, vn as AssertionEvidenceParameter, vr as ExperimentSummaryExampleTrace, vt as reportReplayProgress, w as NodeOptions, wi as DbSnapshotConfig, wn as AssertionLabelEvidence, wr as ListExperimentsParams, wt as OrganizationMember, x as CurrentTrace, xi as SpanNodeMeta, xn as AssertionGenerationStatus, xr as ExperimentTally, xt as ReplayInterruptSignal, y as CaptureWhen, yi as NO_MOCK_OVERRIDE, yn as AssertionGeneration, yr as ExperimentSummaryFacts, yt as serializeReplayResult, z as getCurrentSpan, zi as Justification, zn as ScenarioActualOutcome, zr as RemoveDatasetTracesResult, zt as GraderVerdictOutcome } from "./index-BmPTyjQO.cjs";
|
|
2
|
+
export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionCode, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionKind, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type PiIntegrationOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioCreationStatus, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
|
package/dist/node.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as RivetEffectType, $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 AssertionKind, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type PiIntegrationOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
|
|
1
|
+
import { $ as RivetEffectType, $n as TraceAssertionsResult, $r as AssertionCategorySummary, $t as LabelSource, A as SpanMethodDecoratorContext, Ai as SelectiveReplayOptions, An as SaveAssertionsAllParams, Ar as DatasetsClient, At as LangGraphIntegrationOptions, B as getCurrentTrace, Bi as JustificationSpan, Bn as ScenarioCreationStatus, Br as RerunGradersOptions, Bt as GraderVerdictSource, C as NodeMethodDecorator, Ci as MixedTracingError, Cn as AssertionKind, Cr as ExperimentsClient, Ct as PiIntegrationOptions, D as SeedCaseOptions, Di as SUPPORTED_PROVIDERS, Dn as AssertionVerdictEvidence, Dr as Dataset, Dt as BitfabAgentMiddleware, E as ReseedResult, Ei as DbSnapshotRef, En as AssertionRewriteStatus, Er as AddDatasetTracesResult, Et as BitfabOpenAIAgentHandler, F as WrapOpenAIResponsesOptions, Fi as ApprovalFields, Fn as SaveScenarioParams, Fr as GraderRerunStatus, Ft as GraderLabelOutcome, G as TracingProcessor, Gn as ScenarioGeneration, Gr as BitfabLanguageModelMiddleware, Gt as AssertionVerdict, H as ActiveSpanContext, Hn as ScenarioDataAppend, Hr as SaveDatasetParams, Ht as GradersClient, I as WrapOpenRouterOptions, Ii as ApprovalState, In as SavedTraceAssertion, Ir as GraderRerunTimeoutError, It as GraderLabelSource, J as SpanListParams, Jn as ScenarioRecordInput, Jr as VercelGenerateResult, Jt as HumanVerdictOutcome, K as ListedSpan, Kn as ScenarioHistoryEntry, Kr as BitfabVercelAiHandler, Kt as HumanLabelOutcome, L as WrappedBamlFn, Li as Approver, Ln as Scenario, Lr as ListDatasetsParams, Lt as GraderLabelUpdate, M as WrapAnthropicOptions, Mi as AllowedEnvVars, Mn as SaveScenarioActualOutcome, Mr as GraderRerunError, Mt as GetGraderLabelsParams, N as WrapBAMLOptions, Ni as BamlExecutionResult, Nn as SaveScenarioData, Nr as GraderRerunProgress, Nt as GetGraderVerdictsParams, O as SeedRunOptions, Oi as ReplayNodeIdentity, On as GenerateAssertionsOptions, Or as DatasetGraderRef, Ot as BitfabLangGraphAgent, P as WrapJevOptions, Pi as ProviderDefinition, Pn as SaveScenarioHistoryEntry, Pr as GraderRerunResult, Pt as GraderLabel, Q as RivetContextLike, Qn as TraceAssertionSource, Qr as AssertionCategory, Qt as LabelOutcome, R as getCurrentReplayBranch, Ri as Assignee, Rn as ScenarioAction, Rr as RemoveDatasetGradersResult, Rt as GraderVerdict, S as DetachedTrace, Si as BitfabError, Sn as AssertionGenerationTimeoutError, Sr as ExperimentTotals, St as BitfabPiIntegration, T as ReseedOptions, Ti as DbSnapshotProvider, Tn as AssertionRewrite, Tr as AddDatasetGradersResult, Tt as OrganizationMembersClient, U as BitfabOpenAITracingProcessor, Un as ScenarioDataOrigin, Ur as SaveDatasetResult, Ut as ArchiveLabelTarget, V as CaptureSurface, Vn as ScenarioData, Vr as RerunGradersResult, Vt as GraderVerdictUpdate, W as TraceResponse, Wn as ScenarioDataSources, Wr as UpdateDatasetParams, Wt as ArchiveVerdictTarget, X as SpansClient, Xn as ScenarioTrigger, Xr as BitfabClaudeAgentHandler, Xt as LabelAction, Y as SpanListResult, Yn as ScenarioSource, Yr as VercelStreamResult, Yt as HumanVerdictUpdate, Z as BitfabRivetIntegration, Zn as TraceAssertion, Zr as AssertionCategoriesClient, Zt as LabelConfidence, _ as BitfabConfig, _i as MockOverrideResolver, _n as AssertionCode, _r as ExperimentSummaryBeforeAfter, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as CapturedSpan, an as TraceLabels, ar as TraceTargetOccurrence, at as DbBranchOptions, b as CurrentSpan, bi as NodeMatcher, bn as AssertionGenerationError, br as ExperimentSummaryResult, bt as ReplayInterrupt, c as SeedResult, ci as SpanLookup, cn as VerdictAction, cr as ExperimentCategoryTally, ct as ReplayError, d as seedFromRegistry, di as TokenUsage, dn as VerdictSource, dr as ExperimentPage, dt as ReplayItemFinishProgress, ei as CategoriesClient, en as LabelStatus, er as TraceAssertionsUpdate, et as RivetIntegrationOptions, f as finalizers, fi as flushTraces, fn as VerdictStatus, fr as ExperimentRollup, ft as ReplayItemStartProgress, g as Bitfab, gi as MockOverrideInput, gn as ArchiveAssertionsParams, gr as ExperimentSummary, gt as ReplayResult, h as CommitRef, hi as MockOverrideCtx, hn as VerdictsClient, hr as ExperimentStatus, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as SaveCategoryParams, in as PassFailVerdict, ir as TraceTarget, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, ji as SelectiveReplayReport, jn as SaveAssertionsParams, jr as GraderRerun, jt as BitfabLangGraphCallbackHandler, k as SpanMethodDecorator, ki as SelectiveReplayDecision, kn as SaveAssertion, kr as DatasetTraceIds, kt as BitfabLangGraphIntegration, l as defineReplayRegistry, li as SpanOccurrence, ln as VerdictConfidence, lr as ExperimentCodeChangeTotals, lt as ReplayExperiment, m as __version__, mi as MockOverride, mn as VerdictUpdate, mr as ExperimentRunBy, mt as ReplayProgress, n as ReplayRegistration, ni as CategorySummary, nn as LabelUpdate, nr as TraceSearchParams, nt as AdaptContext, o as ReseedRegistryResult, oi as CodeChangeFile, on as TraceVerdicts, or as TracesClient, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as DbBranchTimings, pn as VerdictTarget, pr as ExperimentRollupResult, pt as ReplayOptions, q as SpanListField, qn as ScenarioRecord, qr as VercelCallParams, qt as HumanLabelUpdate, r as ReplayRegistry, ri as SaveAssertionCategoryParams, rn as LabelsClient, rr as TraceSearchResult, rt as AdaptInputsFn, s as SeedCase, si as HttpClient, sn as Verdict, sr as Experiment, st as MockStrategy, t as ReplayOptionsFactory, ti as Category, tn as LabelTarget, tr as TraceSearchFilters, tt as ReplayBranch, u as reseedFromRegistry, ui as SpanType, un as VerdictOutcome, ur as ExperimentJitter, ut as ReplayItem, v as BitfabFunction, vi as MockValue, vn as AssertionEvidenceParameter, vr as ExperimentSummaryExampleTrace, vt as reportReplayProgress, w as NodeOptions, wi as DbSnapshotConfig, wn as AssertionLabelEvidence, wr as ListExperimentsParams, wt as OrganizationMember, x as CurrentTrace, xi as SpanNodeMeta, xn as AssertionGenerationStatus, xr as ExperimentTally, xt as ReplayInterruptSignal, y as CaptureWhen, yi as NO_MOCK_OVERRIDE, yn as AssertionGeneration, yr as ExperimentSummaryFacts, yt as serializeReplayResult, z as getCurrentSpan, zi as Justification, zn as ScenarioActualOutcome, zr as RemoveDatasetTracesResult, zt as GraderVerdictOutcome } from "./index-BmPTyjQO.js";
|
|
2
|
+
export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionCode, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionKind, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type PiIntegrationOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioCreationStatus, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
|
package/dist/node.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as VerdictsClient, C as OrganizationMembersClient, D as BitfabLangGraphCallbackHandler, E as BitfabLangGraphIntegration, F as GraderRerunTimeoutError, I as BitfabClaudeAgentHandler, L as DEFAULT_SERVICE_URL, M as SUPPORTED_PROVIDERS, N as DatasetsClient, O as GradersClient, P as GraderRerunError, R as AssertionCategoriesClient, S as BitfabPiIntegration, T as NO_MOCK_OVERRIDE, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as ExperimentsClient, k as LabelsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as BitfabOpenAIAgentHandler, x as serializeReplayResult, y as ReplayError, z as CategoriesClient } from "./src-
|
|
2
|
-
import { C as BitfabError, E 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-CkjZNnHR.js";
|
|
2
|
+
import { C as BitfabError, E as __version__, i as flushTraces, t as HttpClient, w as MixedTracingError } from "./http-DSBpxeyr.js";
|
|
3
3
|
import { U as registerAsyncLocalStorageClass, z as assertAsyncStorageRegistered } from "./autoTrace-kHOBg49M.js";
|
|
4
4
|
import { AsyncLocalStorage } from "async_hooks";
|
|
5
5
|
//#region src/asyncStorageNode.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { C as BitfabError, E as __version__, S as gitRunner, T as readEnv$1, _ as MAX_SPAN_CARRIER_BYTES, b as replayContextReady, c as recordCallerTraceMetadata, f as ROOT_TRACE_FUNCTION_KEY_FIELD, g as MAX_COMPRESSIBLE_SPAN_CARRIER_BYTES, h as makeSpanOrigin, i as flushTraces, l as retireTraceMetadata, m as isFrameworkInstrumentation, n as SPAN_TYPES, o as unrefTimer, p as SimulationPlan, r as experimentIdWireFields, s as callerTraceMetadata, t as HttpClient, v as byteLength, w as MixedTracingError, x as runWithReplayContext, y as getReplayContext } from "./http-
|
|
2
|
+
import { C as BitfabError, E as __version__, S as gitRunner, T as readEnv$1, _ as MAX_SPAN_CARRIER_BYTES, b as replayContextReady, c as recordCallerTraceMetadata, f as ROOT_TRACE_FUNCTION_KEY_FIELD, g as MAX_COMPRESSIBLE_SPAN_CARRIER_BYTES, h as makeSpanOrigin, i as flushTraces, l as retireTraceMetadata, m as isFrameworkInstrumentation, n as SPAN_TYPES, o as unrefTimer, p as SimulationPlan, r as experimentIdWireFields, s as callerTraceMetadata, t as HttpClient, v as byteLength, w as MixedTracingError, x as runWithReplayContext, y as getReplayContext } from "./http-DSBpxeyr.js";
|
|
3
3
|
import { A as unmapOpenAiAgentsTrace, B as asyncStorageReady, C as recordAutoTracedClientCall, D as mapOpenAiAgentsTrace, E as endOpenAiAgentsSpan, F as warnOnce, H as isAsyncStorageInitDone, I as writeOnce, L as isCaptureSuppressed, M as installLangChainRunScopes, N as markLangChainRunRecorded, O as openAiAgentsParentSpanId, R as runWithCaptureSuppressed, S as frameworkRecordsClientCall, T as watchClientCall, V as createAsyncLocalStorage, _ as runWithAutoTraceRootContext, b as OPENROUTER, f as invokeThroughAutoTraceEntries, g as runWithAutoTraceNodeConfiguration, h as runWithAutoTraceFramesAt, j as forgetLangChainRun, k as openAiAgentsSpanChain, l as clearAutoTraceNodeConfiguration, m as runWithAutoTraceEntry, o as __bitfabAutoTraceActive, p as runAsAutoTraceRootFunction, u as currentAutoTraceEntries, v as ANTHROPIC, w as recordWatchedClientCall, x as clientCallProvider, y as OPENAI_RESPONSES } from "./autoTrace-kHOBg49M.js";
|
|
4
4
|
import { t as importOptionalPeer } from "./optionalPeer-CczrzrXx.js";
|
|
5
5
|
import { t as loadBamlModule } from "./bamlPeer-Dyeb3e5o.js";
|
|
@@ -7073,7 +7073,7 @@ var Bitfab = class {
|
|
|
7073
7073
|
await runWithSeedContext({ traceId }, async () => target(...args));
|
|
7074
7074
|
} finally {
|
|
7075
7075
|
try {
|
|
7076
|
-
const { flushTraces } = await import("./http-
|
|
7076
|
+
const { flushTraces } = await import("./http-DSBpxeyr.js").then((n) => n.a);
|
|
7077
7077
|
await flushTraces(3e4);
|
|
7078
7078
|
} finally {
|
|
7079
7079
|
unrecorded = activeTraceStates.delete(traceId);
|
|
@@ -7279,7 +7279,7 @@ async function seedFromRegistry(registry, pipeline, cases, options = {}) {
|
|
|
7279
7279
|
metadata: seedCase.metadata,
|
|
7280
7280
|
sessionId: seedCase.sessionId
|
|
7281
7281
|
}));
|
|
7282
|
-
const { flushTraces } = await import("./http-
|
|
7282
|
+
const { flushTraces } = await import("./http-DSBpxeyr.js").then((n) => n.a);
|
|
7283
7283
|
await flushTraces(3e4);
|
|
7284
7284
|
return {
|
|
7285
7285
|
pipeline,
|
|
@@ -7296,4 +7296,4 @@ function resolveTraceFunctionKey(registration) {
|
|
|
7296
7296
|
//#endregion
|
|
7297
7297
|
export { VerdictsClient as A, OrganizationMembersClient as C, BitfabLangGraphCallbackHandler as D, BitfabLangGraphIntegration as E, GraderRerunTimeoutError as F, BitfabClaudeAgentHandler as I, DEFAULT_SERVICE_URL as L, SUPPORTED_PROVIDERS as M, DatasetsClient as N, GradersClient as O, GraderRerunError as P, AssertionCategoriesClient as R, BitfabPiIntegration as S, NO_MOCK_OVERRIDE as T, BITFAB_PROGRESS_PREFIX as _, Bitfab as a, reportReplayProgress as b, getCurrentSpan as c, BitfabOpenAITracingProcessor as d, AssertionGenerationError as f, BitfabRivetIntegration as g, SpansClient as h, finalizers as i, ExperimentsClient as j, LabelsClient as k, getCurrentTrace as l, TracesClient as m, reseedFromRegistry as n, BitfabFunction as o, AssertionGenerationTimeoutError as p, seedFromRegistry as r, getCurrentReplayBranch as s, defineReplayRegistry as t, BitfabVercelAiHandler as u, DbBranchReplayError as v, BitfabOpenAIAgentHandler as w, serializeReplayResult as x, ReplayError as y, CategoriesClient as z };
|
|
7298
7298
|
|
|
7299
|
-
//# sourceMappingURL=src-
|
|
7299
|
+
//# sourceMappingURL=src-CkjZNnHR.js.map
|