bitfab 0.68.0 → 0.68.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/{autoTrace-BikML0lX.cjs → autoTrace-D3-OZcmR.cjs} +196 -17
- package/dist/autoTrace-D3-OZcmR.cjs.map +1 -0
- package/dist/{autoTrace-CVt9EDyo.js → autoTrace-ghnojSj9.js} +173 -18
- package/dist/autoTrace-ghnojSj9.js.map +1 -0
- package/dist/autoTrace.cjs +2 -1
- package/dist/autoTrace.d.cts +15 -0
- package/dist/autoTrace.d.ts +15 -0
- package/dist/autoTrace.js +1 -1
- package/dist/{babelPlugin-s8EFjT6e.cjs → babelPlugin-0uOq-j1Q.cjs} +48 -18
- package/dist/babelPlugin-0uOq-j1Q.cjs.map +1 -0
- package/dist/{babelPlugin-a7ofCoOd.js → babelPlugin-Muq0uuuu.js} +48 -18
- package/dist/babelPlugin-Muq0uuuu.js.map +1 -0
- package/dist/{http-_cgR_DM2.js → http-f8Rl8oRa.js} +3 -3
- package/dist/{http-_cgR_DM2.js.map → http-f8Rl8oRa.js.map} +1 -1
- package/dist/{http-psFF1ptn.cjs → http-r1r6injY.cjs} +3 -3
- package/dist/{http-psFF1ptn.cjs.map → http-r1r6injY.cjs.map} +1 -1
- package/dist/{index-j7SrvOqe.d.cts → index-BQV7zzJx.d.cts} +56 -2
- package/dist/{index-j7SrvOqe.d.ts → index-BQV7zzJx.d.ts} +56 -2
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/node.cjs +3 -3
- package/dist/node.d.cts +2 -2
- package/dist/node.d.ts +2 -2
- package/dist/node.js +3 -3
- package/dist/registryCommand-Dk4Y1ZgW.js.map +1 -1
- package/dist/{src-Dze8o7iU.cjs → src-BYXxPnpE.cjs} +30 -7
- package/dist/src-BYXxPnpE.cjs.map +1 -0
- package/dist/{src-DyEKM7yn.js → src-Cps3Xs_J.js} +30 -7
- package/dist/{src-DyEKM7yn.js.map → src-Cps3Xs_J.js.map} +1 -1
- package/dist/transform/babel.cjs +1 -1
- package/dist/transform/babel.d.cts +9 -2
- package/dist/transform/babel.d.ts +9 -2
- package/dist/transform/babel.js +1 -1
- package/dist/transform/loaderRuntime.cjs +2 -2
- package/dist/transform/loaderRuntime.js +2 -2
- package/dist/transform/nodeLoader.js +47 -17
- package/dist/transform/nodeLoader.js.map +1 -1
- package/dist/transform/swc.cjs +1 -1
- package/dist/transform/swc.js +1 -1
- package/dist/transform/unplugin.cjs +2 -2
- package/dist/transform/unplugin.js +2 -2
- package/dist/{transform-DkcFn_tg.js → transform-CAJyLLe2.js} +2 -2
- package/dist/{transform-DkcFn_tg.js.map → transform-CAJyLLe2.js.map} +1 -1
- package/dist/{transform-BBzrqpVH.cjs → transform-ClCOpCZ2.cjs} +2 -2
- package/dist/{transform-BBzrqpVH.cjs.map → transform-ClCOpCZ2.cjs.map} +1 -1
- package/package.json +2 -1
- package/dist/autoTrace-BikML0lX.cjs.map +0 -1
- package/dist/autoTrace-CVt9EDyo.js.map +0 -1
- package/dist/babelPlugin-a7ofCoOd.js.map +0 -1
- package/dist/babelPlugin-s8EFjT6e.cjs.map +0 -1
- package/dist/src-Dze8o7iU.cjs.map +0 -1
|
@@ -3450,6 +3450,10 @@ interface WrapJevOptions<TReply> {
|
|
|
3450
3450
|
/** Called after each Jev call with the reply, for the caller's own usage or cost reporting. */
|
|
3451
3451
|
onReply?: (reply: TReply) => void;
|
|
3452
3452
|
}
|
|
3453
|
+
interface WrapOpenRouterOptions<TResponse> {
|
|
3454
|
+
/** Called after each call with the chat completion, for the caller's own usage or cost reporting. */
|
|
3455
|
+
onResponse?: (response: TResponse) => void;
|
|
3456
|
+
}
|
|
3453
3457
|
interface WrapBAMLOptions {
|
|
3454
3458
|
/** Called after each BAML invocation with the Collector instance. */
|
|
3455
3459
|
onCollector?: (collector: unknown) => void;
|
|
@@ -4145,6 +4149,43 @@ declare class Bitfab {
|
|
|
4145
4149
|
* @returns An async function with the same signature that records each call
|
|
4146
4150
|
*/
|
|
4147
4151
|
wrapJev<TArgs extends unknown[], TReply>(method: (...args: TArgs) => TReply | Promise<TReply>, options?: WrapJevOptions<TReply>): (...args: TArgs) => Promise<TReply>;
|
|
4152
|
+
/**
|
|
4153
|
+
* Wrap a function that sends a chat completion to OpenRouter to record the
|
|
4154
|
+
* call's prompt, model, token usage, the cost OpenRouter reports, and
|
|
4155
|
+
* duration.
|
|
4156
|
+
*
|
|
4157
|
+
* Like `wrapJev`, it opens no span of its own. It writes into the span that
|
|
4158
|
+
* is current when the call starts, so call it inside a traced function. The
|
|
4159
|
+
* wrapped function must return the chat completion, as
|
|
4160
|
+
* `openai.chat.completions.create` does. When its first argument is the
|
|
4161
|
+
* request, the request's messages become the span's prompt. One context
|
|
4162
|
+
* entry holds `provider` (`"openrouter"`), `model` (the model OpenRouter
|
|
4163
|
+
* routed to), `upstreamProvider`, `inputTokens`, `outputTokens`,
|
|
4164
|
+
* `cachedInputTokens`, `reasoningTokens`, `costUsd` (OpenRouter's
|
|
4165
|
+
* `usage.cost`), and `durationMs`; fields the response omits are left out.
|
|
4166
|
+
*
|
|
4167
|
+
* Beneath a `withTrace()` root, each `.chat.completions.create(...)` call in
|
|
4168
|
+
* code compiled by the build transform, on a client whose base URL is
|
|
4169
|
+
* `openrouter.ai`, is recorded without this wrapper as its own `llm` span,
|
|
4170
|
+
* and a `wrapOpenRouter` around such a call records nothing more. Streaming
|
|
4171
|
+
* calls (`stream: true`) are not recorded.
|
|
4172
|
+
*
|
|
4173
|
+
* ```typescript
|
|
4174
|
+
* const openai = new OpenAI({ baseURL: "https://openrouter.ai/api/v1", apiKey })
|
|
4175
|
+
* const complete = client.wrapOpenRouter(
|
|
4176
|
+
* openai.chat.completions.create.bind(openai.chat.completions),
|
|
4177
|
+
* )
|
|
4178
|
+
* const response = await complete({
|
|
4179
|
+
* model: "anthropic/claude-sonnet-4.5",
|
|
4180
|
+
* messages: [{ role: "user", content: text }],
|
|
4181
|
+
* })
|
|
4182
|
+
* ```
|
|
4183
|
+
*
|
|
4184
|
+
* @param method - A named function that sends the request and returns the chat completion
|
|
4185
|
+
* @param options - `onResponse` is called with each chat completion after it is recorded
|
|
4186
|
+
* @returns An async function with the same signature that records each call
|
|
4187
|
+
*/
|
|
4188
|
+
wrapOpenRouter<TArgs extends unknown[], TResponse>(method: (...args: TArgs) => TResponse | Promise<TResponse>, options?: WrapOpenRouterOptions<TResponse>): (...args: TArgs) => Promise<TResponse>;
|
|
4148
4189
|
/**
|
|
4149
4190
|
* Wrap a function to automatically create a span for its inputs and outputs.
|
|
4150
4191
|
*
|
|
@@ -4537,6 +4578,19 @@ declare class BitfabFunction {
|
|
|
4537
4578
|
* @returns An async function with the same signature that records each call
|
|
4538
4579
|
*/
|
|
4539
4580
|
wrapJev<TArgs extends unknown[], TReply>(method: (...args: TArgs) => TReply | Promise<TReply>, options?: WrapJevOptions<TReply>): (...args: TArgs) => Promise<TReply>;
|
|
4581
|
+
/**
|
|
4582
|
+
* Wrap a function that sends a chat completion to OpenRouter to record the
|
|
4583
|
+
* call's prompt, model, token usage, cost, and duration. Delegates to the
|
|
4584
|
+
* parent client's wrapOpenRouter method.
|
|
4585
|
+
*
|
|
4586
|
+
* Like `wrapJev`, it does not use the bound key and opens no span of its
|
|
4587
|
+
* own: it writes into the span that is current when the call starts.
|
|
4588
|
+
*
|
|
4589
|
+
* @param method - A named function that sends the request and returns the chat completion
|
|
4590
|
+
* @param options - `onResponse` is called with each chat completion after it is recorded
|
|
4591
|
+
* @returns An async function with the same signature that records each call
|
|
4592
|
+
*/
|
|
4593
|
+
wrapOpenRouter<TArgs extends unknown[], TResponse>(method: (...args: TArgs) => TResponse | Promise<TResponse>, options?: WrapOpenRouterOptions<TResponse>): (...args: TArgs) => Promise<TResponse>;
|
|
4540
4594
|
}
|
|
4541
4595
|
//#endregion
|
|
4542
4596
|
//#region src/commitRef.d.ts
|
|
@@ -4557,7 +4611,7 @@ interface CommitRef {
|
|
|
4557
4611
|
/**
|
|
4558
4612
|
* SDK version from package.json (injected at build time)
|
|
4559
4613
|
*/
|
|
4560
|
-
declare const __version__ = "0.68.
|
|
4614
|
+
declare const __version__ = "0.68.1";
|
|
4561
4615
|
//#endregion
|
|
4562
4616
|
//#region src/constants.d.ts
|
|
4563
4617
|
/**
|
|
@@ -4699,4 +4753,4 @@ declare function seedFromRegistry(registry: ReplayRegistry, pipeline: string, ca
|
|
|
4699
4753
|
run?: boolean;
|
|
4700
4754
|
}): Promise<SeedResult>;
|
|
4701
4755
|
//#endregion
|
|
4702
|
-
export {
|
|
4756
|
+
export { ReplayBranch as $, ExperimentRollup as $n, MockOverrideResolver as $r, TraceLabels as $t, SpanMethodDecoratorContext as A, ScenarioAction as An, VercelGenerateResult as Ar, GraderLabelSource as At, ActiveSpanContext as B, TraceAssertionsResult as Bn, SaveCategoryParams as Br, HumanLabelOutcome as Bt, NodeMethodDecorator as C, SaveAssertionsParams as Cn, RerunGradersResult as Cr, BitfabLangGraphIntegration as Ct, SeedCaseOptions as D, SaveScenarioParams as Dn, BitfabLanguageModelMiddleware as Dr, GetGraderVerdictsParams as Dt, ReseedResult as E, SaveScenarioHistoryEntry as En, UpdateDatasetParams as Er, GetGraderLabelsParams as Et, WrappedBamlFn as F, ScenarioHistoryEntry as Fn, AssertionCategorySummary as Fr, GraderVerdictUpdate as Ft, SpanListField as G, TraceTarget as Gn, SpanOccurrence as Gr, LabelConfidence as Gt, TraceResponse as H, TraceSearchFilters as Hn, CodeChangeFile as Hr, HumanVerdictOutcome as Ht, getCurrentReplayBranch as I, ScenarioSource as In, CategoriesClient as Ir, GradersClient as It, SpansClient as J, Experiment as Jn, flushTraces as Jr, LabelStatus as Jt, SpanListParams as K, TraceTargetOccurrence as Kn, SpanType as Kr, LabelOutcome as Kt, getCurrentSpan as L, ScenarioTrigger as Ln, Category as Lr, ArchiveLabelTarget as Lt, WrapBAMLOptions as M, ScenarioData as Mn, BitfabClaudeAgentHandler as Mr, GraderVerdict as Mt, WrapJevOptions as N, ScenarioDataAppend as Nn, AssertionCategoriesClient as Nr, GraderVerdictOutcome as Nt, SeedRunOptions as O, SavedTraceAssertion as On, BitfabVercelAiHandler as Or, GraderLabel as Ot, WrapOpenRouterOptions as P, ScenarioDataOrigin as Pn, AssertionCategory as Pr, GraderVerdictSource as Pt, RivetIntegrationOptions as Q, ExperimentPage as Qn, MockOverrideInput as Qr, PassFailVerdict as Qt, getCurrentTrace as R, TraceAssertion as Rn, CategorySummary as Rr, ArchiveVerdictTarget as Rt, DetachedTrace as S, JustificationSpan as Si, SaveAssertionsAllParams as Sn, RerunGradersOptions as Sr, BitfabOpenAIAgentHandler as St, ReseedOptions as T, SaveScenarioData as Tn, SaveDatasetResult as Tr, BitfabLangGraphCallbackHandler as Tt, TracingProcessor as U, TraceSearchParams as Un, HttpClient as Ur, HumanVerdictUpdate as Ut, BitfabOpenAITracingProcessor as V, TraceAssertionsUpdate as Vn, CapturedSpan as Vr, HumanLabelUpdate as Vt, ListedSpan as W, TraceSearchResult as Wn, SpanLookup as Wr, LabelAction as Wt, RivetContextLike as X, ExperimentCodeChangeTotals as Xn, MockOverride as Xr, LabelUpdate as Xt, BitfabRivetIntegration as Y, ExperimentCategoryTally as Yn, DbBranchTimings as Yr, LabelTarget as Yt, RivetEffectType as Z, ExperimentJitter as Zn, MockOverrideCtx as Zr, LabelsClient as Zt, BitfabConfig as _, ApprovalFields as _i, AssertionRewrite as _n, GraderRerunStatus as _r, serializeReplayResult as _t, ReplayRegistryOptions as a, MixedTracingError as ai, VerdictSource as an, ExperimentsClient as ar, MockStrategy as at, CurrentSpan as b, Assignee as bi, GenerateAssertionsOptions as bn, RemoveDatasetGradersResult as br, OrganizationMember as bt, SeedResult as c, DbSnapshotRef as ci, VerdictUpdate as cn, AddDatasetTracesResult as cr, ReplayItem as ct, seedFromRegistry as d, SelectiveReplayDecision as di, AssertionEvidenceParameter as dn, DatasetTraceIds as dr, ReplayOptions as dt, MockValue as ei, TraceVerdicts as en, ExperimentRollupResult as er, AdaptContext as et, finalizers as f, SelectiveReplayOptions as fi, AssertionGeneration as fn, DatasetsClient as fr, ReplayProgress as ft, Bitfab as g, ProviderDefinition as gi, AssertionLabelEvidence as gn, GraderRerunResult as gr, reportReplayProgress as gt, CommitRef as h, BamlExecutionResult as hi, AssertionGenerationTimeoutError as hn, GraderRerunProgress as hr, TraceIngestionType as ht, ReplayRegistryContext as i, BitfabError as ii, VerdictOutcome as in, ExperimentTotals as ir, DbBranchReplayError as it, SpanOptions as j, ScenarioActualOutcome as jn, VercelStreamResult as jr, GraderLabelUpdate as jt, SpanMethodDecorator as k, Scenario as kn, VercelCallParams as kr, GraderLabelOutcome as kt, defineReplayRegistry as l, SUPPORTED_PROVIDERS as li, VerdictsClient as ln, Dataset as lr, ReplayItemFinishProgress as lt, __version__ as m, AllowedEnvVars as mi, AssertionGenerationStatus as mn, GraderRerunError as mr, ReplayResult as mt, ReplayRegistration as n, NodeMatcher as ni, VerdictAction as nn, ExperimentStatus as nr, BITFAB_PROGRESS_PREFIX as nt, ReseedRegistryResult as o, DbSnapshotConfig as oi, VerdictStatus as on, ListExperimentsParams as or, ReplayError as ot, DEFAULT_SERVICE_URL as p, SelectiveReplayReport as pi, AssertionGenerationError as pn, GraderRerun as pr, ReplayProgressItem as pt, SpanListResult as q, TracesClient as qn, TokenUsage as qr, LabelSource as qt, ReplayRegistry as r, SpanNodeMeta as ri, VerdictConfidence as rn, ExperimentTally as rr, DbBranchOptions as rt, SeedCase as s, DbSnapshotProvider as si, VerdictTarget as sn, AddDatasetGradersResult as sr, ReplayExperiment as st, ReplayOptionsFactory as t, NO_MOCK_OVERRIDE as ti, Verdict as tn, ExperimentRunBy as tr, AdaptInputsFn as tt, reseedFromRegistry as u, ReplayNodeIdentity as ui, ArchiveAssertionsParams as un, DatasetGraderRef as ur, ReplayItemStartProgress as ut, BitfabFunction as v, ApprovalState as vi, AssertionRewriteStatus as vn, GraderRerunTimeoutError as vr, ReplayInterrupt as vt, NodeOptions as w, SaveScenarioActualOutcome as wn, SaveDatasetParams as wr, LangGraphIntegrationOptions as wt, CurrentTrace as x, Justification as xi, SaveAssertion as xn, RemoveDatasetTracesResult as xr, OrganizationMembersClient as xt, CaptureWhen as y, Approver as yi, AssertionVerdictEvidence as yn, ListDatasetsParams as yr, ReplayInterruptSignal as yt, CaptureSurface as z, TraceAssertionSource as zn, SaveAssertionCategoryParams as zr, AssertionVerdict as zt };
|
|
@@ -3450,6 +3450,10 @@ interface WrapJevOptions<TReply> {
|
|
|
3450
3450
|
/** Called after each Jev call with the reply, for the caller's own usage or cost reporting. */
|
|
3451
3451
|
onReply?: (reply: TReply) => void;
|
|
3452
3452
|
}
|
|
3453
|
+
interface WrapOpenRouterOptions<TResponse> {
|
|
3454
|
+
/** Called after each call with the chat completion, for the caller's own usage or cost reporting. */
|
|
3455
|
+
onResponse?: (response: TResponse) => void;
|
|
3456
|
+
}
|
|
3453
3457
|
interface WrapBAMLOptions {
|
|
3454
3458
|
/** Called after each BAML invocation with the Collector instance. */
|
|
3455
3459
|
onCollector?: (collector: unknown) => void;
|
|
@@ -4145,6 +4149,43 @@ declare class Bitfab {
|
|
|
4145
4149
|
* @returns An async function with the same signature that records each call
|
|
4146
4150
|
*/
|
|
4147
4151
|
wrapJev<TArgs extends unknown[], TReply>(method: (...args: TArgs) => TReply | Promise<TReply>, options?: WrapJevOptions<TReply>): (...args: TArgs) => Promise<TReply>;
|
|
4152
|
+
/**
|
|
4153
|
+
* Wrap a function that sends a chat completion to OpenRouter to record the
|
|
4154
|
+
* call's prompt, model, token usage, the cost OpenRouter reports, and
|
|
4155
|
+
* duration.
|
|
4156
|
+
*
|
|
4157
|
+
* Like `wrapJev`, it opens no span of its own. It writes into the span that
|
|
4158
|
+
* is current when the call starts, so call it inside a traced function. The
|
|
4159
|
+
* wrapped function must return the chat completion, as
|
|
4160
|
+
* `openai.chat.completions.create` does. When its first argument is the
|
|
4161
|
+
* request, the request's messages become the span's prompt. One context
|
|
4162
|
+
* entry holds `provider` (`"openrouter"`), `model` (the model OpenRouter
|
|
4163
|
+
* routed to), `upstreamProvider`, `inputTokens`, `outputTokens`,
|
|
4164
|
+
* `cachedInputTokens`, `reasoningTokens`, `costUsd` (OpenRouter's
|
|
4165
|
+
* `usage.cost`), and `durationMs`; fields the response omits are left out.
|
|
4166
|
+
*
|
|
4167
|
+
* Beneath a `withTrace()` root, each `.chat.completions.create(...)` call in
|
|
4168
|
+
* code compiled by the build transform, on a client whose base URL is
|
|
4169
|
+
* `openrouter.ai`, is recorded without this wrapper as its own `llm` span,
|
|
4170
|
+
* and a `wrapOpenRouter` around such a call records nothing more. Streaming
|
|
4171
|
+
* calls (`stream: true`) are not recorded.
|
|
4172
|
+
*
|
|
4173
|
+
* ```typescript
|
|
4174
|
+
* const openai = new OpenAI({ baseURL: "https://openrouter.ai/api/v1", apiKey })
|
|
4175
|
+
* const complete = client.wrapOpenRouter(
|
|
4176
|
+
* openai.chat.completions.create.bind(openai.chat.completions),
|
|
4177
|
+
* )
|
|
4178
|
+
* const response = await complete({
|
|
4179
|
+
* model: "anthropic/claude-sonnet-4.5",
|
|
4180
|
+
* messages: [{ role: "user", content: text }],
|
|
4181
|
+
* })
|
|
4182
|
+
* ```
|
|
4183
|
+
*
|
|
4184
|
+
* @param method - A named function that sends the request and returns the chat completion
|
|
4185
|
+
* @param options - `onResponse` is called with each chat completion after it is recorded
|
|
4186
|
+
* @returns An async function with the same signature that records each call
|
|
4187
|
+
*/
|
|
4188
|
+
wrapOpenRouter<TArgs extends unknown[], TResponse>(method: (...args: TArgs) => TResponse | Promise<TResponse>, options?: WrapOpenRouterOptions<TResponse>): (...args: TArgs) => Promise<TResponse>;
|
|
4148
4189
|
/**
|
|
4149
4190
|
* Wrap a function to automatically create a span for its inputs and outputs.
|
|
4150
4191
|
*
|
|
@@ -4537,6 +4578,19 @@ declare class BitfabFunction {
|
|
|
4537
4578
|
* @returns An async function with the same signature that records each call
|
|
4538
4579
|
*/
|
|
4539
4580
|
wrapJev<TArgs extends unknown[], TReply>(method: (...args: TArgs) => TReply | Promise<TReply>, options?: WrapJevOptions<TReply>): (...args: TArgs) => Promise<TReply>;
|
|
4581
|
+
/**
|
|
4582
|
+
* Wrap a function that sends a chat completion to OpenRouter to record the
|
|
4583
|
+
* call's prompt, model, token usage, cost, and duration. Delegates to the
|
|
4584
|
+
* parent client's wrapOpenRouter method.
|
|
4585
|
+
*
|
|
4586
|
+
* Like `wrapJev`, it does not use the bound key and opens no span of its
|
|
4587
|
+
* own: it writes into the span that is current when the call starts.
|
|
4588
|
+
*
|
|
4589
|
+
* @param method - A named function that sends the request and returns the chat completion
|
|
4590
|
+
* @param options - `onResponse` is called with each chat completion after it is recorded
|
|
4591
|
+
* @returns An async function with the same signature that records each call
|
|
4592
|
+
*/
|
|
4593
|
+
wrapOpenRouter<TArgs extends unknown[], TResponse>(method: (...args: TArgs) => TResponse | Promise<TResponse>, options?: WrapOpenRouterOptions<TResponse>): (...args: TArgs) => Promise<TResponse>;
|
|
4540
4594
|
}
|
|
4541
4595
|
//#endregion
|
|
4542
4596
|
//#region src/commitRef.d.ts
|
|
@@ -4557,7 +4611,7 @@ interface CommitRef {
|
|
|
4557
4611
|
/**
|
|
4558
4612
|
* SDK version from package.json (injected at build time)
|
|
4559
4613
|
*/
|
|
4560
|
-
declare const __version__ = "0.68.
|
|
4614
|
+
declare const __version__ = "0.68.1";
|
|
4561
4615
|
//#endregion
|
|
4562
4616
|
//#region src/constants.d.ts
|
|
4563
4617
|
/**
|
|
@@ -4699,4 +4753,4 @@ declare function seedFromRegistry(registry: ReplayRegistry, pipeline: string, ca
|
|
|
4699
4753
|
run?: boolean;
|
|
4700
4754
|
}): Promise<SeedResult>;
|
|
4701
4755
|
//#endregion
|
|
4702
|
-
export {
|
|
4756
|
+
export { ReplayBranch as $, ExperimentRollup as $n, MockOverrideResolver as $r, TraceLabels as $t, SpanMethodDecoratorContext as A, ScenarioAction as An, VercelGenerateResult as Ar, GraderLabelSource as At, ActiveSpanContext as B, TraceAssertionsResult as Bn, SaveCategoryParams as Br, HumanLabelOutcome as Bt, NodeMethodDecorator as C, SaveAssertionsParams as Cn, RerunGradersResult as Cr, BitfabLangGraphIntegration as Ct, SeedCaseOptions as D, SaveScenarioParams as Dn, BitfabLanguageModelMiddleware as Dr, GetGraderVerdictsParams as Dt, ReseedResult as E, SaveScenarioHistoryEntry as En, UpdateDatasetParams as Er, GetGraderLabelsParams as Et, WrappedBamlFn as F, ScenarioHistoryEntry as Fn, AssertionCategorySummary as Fr, GraderVerdictUpdate as Ft, SpanListField as G, TraceTarget as Gn, SpanOccurrence as Gr, LabelConfidence as Gt, TraceResponse as H, TraceSearchFilters as Hn, CodeChangeFile as Hr, HumanVerdictOutcome as Ht, getCurrentReplayBranch as I, ScenarioSource as In, CategoriesClient as Ir, GradersClient as It, SpansClient as J, Experiment as Jn, flushTraces as Jr, LabelStatus as Jt, SpanListParams as K, TraceTargetOccurrence as Kn, SpanType as Kr, LabelOutcome as Kt, getCurrentSpan as L, ScenarioTrigger as Ln, Category as Lr, ArchiveLabelTarget as Lt, WrapBAMLOptions as M, ScenarioData as Mn, BitfabClaudeAgentHandler as Mr, GraderVerdict as Mt, WrapJevOptions as N, ScenarioDataAppend as Nn, AssertionCategoriesClient as Nr, GraderVerdictOutcome as Nt, SeedRunOptions as O, SavedTraceAssertion as On, BitfabVercelAiHandler as Or, GraderLabel as Ot, WrapOpenRouterOptions as P, ScenarioDataOrigin as Pn, AssertionCategory as Pr, GraderVerdictSource as Pt, RivetIntegrationOptions as Q, ExperimentPage as Qn, MockOverrideInput as Qr, PassFailVerdict as Qt, getCurrentTrace as R, TraceAssertion as Rn, CategorySummary as Rr, ArchiveVerdictTarget as Rt, DetachedTrace as S, JustificationSpan as Si, SaveAssertionsAllParams as Sn, RerunGradersOptions as Sr, BitfabOpenAIAgentHandler as St, ReseedOptions as T, SaveScenarioData as Tn, SaveDatasetResult as Tr, BitfabLangGraphCallbackHandler as Tt, TracingProcessor as U, TraceSearchParams as Un, HttpClient as Ur, HumanVerdictUpdate as Ut, BitfabOpenAITracingProcessor as V, TraceAssertionsUpdate as Vn, CapturedSpan as Vr, HumanLabelUpdate as Vt, ListedSpan as W, TraceSearchResult as Wn, SpanLookup as Wr, LabelAction as Wt, RivetContextLike as X, ExperimentCodeChangeTotals as Xn, MockOverride as Xr, LabelUpdate as Xt, BitfabRivetIntegration as Y, ExperimentCategoryTally as Yn, DbBranchTimings as Yr, LabelTarget as Yt, RivetEffectType as Z, ExperimentJitter as Zn, MockOverrideCtx as Zr, LabelsClient as Zt, BitfabConfig as _, ApprovalFields as _i, AssertionRewrite as _n, GraderRerunStatus as _r, serializeReplayResult as _t, ReplayRegistryOptions as a, MixedTracingError as ai, VerdictSource as an, ExperimentsClient as ar, MockStrategy as at, CurrentSpan as b, Assignee as bi, GenerateAssertionsOptions as bn, RemoveDatasetGradersResult as br, OrganizationMember as bt, SeedResult as c, DbSnapshotRef as ci, VerdictUpdate as cn, AddDatasetTracesResult as cr, ReplayItem as ct, seedFromRegistry as d, SelectiveReplayDecision as di, AssertionEvidenceParameter as dn, DatasetTraceIds as dr, ReplayOptions as dt, MockValue as ei, TraceVerdicts as en, ExperimentRollupResult as er, AdaptContext as et, finalizers as f, SelectiveReplayOptions as fi, AssertionGeneration as fn, DatasetsClient as fr, ReplayProgress as ft, Bitfab as g, ProviderDefinition as gi, AssertionLabelEvidence as gn, GraderRerunResult as gr, reportReplayProgress as gt, CommitRef as h, BamlExecutionResult as hi, AssertionGenerationTimeoutError as hn, GraderRerunProgress as hr, TraceIngestionType as ht, ReplayRegistryContext as i, BitfabError as ii, VerdictOutcome as in, ExperimentTotals as ir, DbBranchReplayError as it, SpanOptions as j, ScenarioActualOutcome as jn, VercelStreamResult as jr, GraderLabelUpdate as jt, SpanMethodDecorator as k, Scenario as kn, VercelCallParams as kr, GraderLabelOutcome as kt, defineReplayRegistry as l, SUPPORTED_PROVIDERS as li, VerdictsClient as ln, Dataset as lr, ReplayItemFinishProgress as lt, __version__ as m, AllowedEnvVars as mi, AssertionGenerationStatus as mn, GraderRerunError as mr, ReplayResult as mt, ReplayRegistration as n, NodeMatcher as ni, VerdictAction as nn, ExperimentStatus as nr, BITFAB_PROGRESS_PREFIX as nt, ReseedRegistryResult as o, DbSnapshotConfig as oi, VerdictStatus as on, ListExperimentsParams as or, ReplayError as ot, DEFAULT_SERVICE_URL as p, SelectiveReplayReport as pi, AssertionGenerationError as pn, GraderRerun as pr, ReplayProgressItem as pt, SpanListResult as q, TracesClient as qn, TokenUsage as qr, LabelSource as qt, ReplayRegistry as r, SpanNodeMeta as ri, VerdictConfidence as rn, ExperimentTally as rr, DbBranchOptions as rt, SeedCase as s, DbSnapshotProvider as si, VerdictTarget as sn, AddDatasetGradersResult as sr, ReplayExperiment as st, ReplayOptionsFactory as t, NO_MOCK_OVERRIDE as ti, Verdict as tn, ExperimentRunBy as tr, AdaptInputsFn as tt, reseedFromRegistry as u, ReplayNodeIdentity as ui, ArchiveAssertionsParams as un, DatasetGraderRef as ur, ReplayItemStartProgress as ut, BitfabFunction as v, ApprovalState as vi, AssertionRewriteStatus as vn, GraderRerunTimeoutError as vr, ReplayInterrupt as vt, NodeOptions as w, SaveScenarioActualOutcome as wn, SaveDatasetParams as wr, LangGraphIntegrationOptions as wt, CurrentTrace as x, Justification as xi, SaveAssertion as xn, RemoveDatasetTracesResult as xr, OrganizationMembersClient as xt, CaptureWhen as y, Approver as yi, AssertionVerdictEvidence as yn, ListDatasetsParams as yr, ReplayInterruptSignal as yt, CaptureSurface as z, TraceAssertionSource as zn, SaveAssertionCategoryParams as zr, AssertionVerdict as zt };
|
package/dist/index.cjs
CHANGED
|
@@ -11,8 +11,8 @@ Object.defineProperties(exports, {
|
|
|
11
11
|
__esModule: { value: true },
|
|
12
12
|
[Symbol.toStringTag]: { value: "Module" }
|
|
13
13
|
});
|
|
14
|
-
const require_src = require("./src-
|
|
15
|
-
const require_http = require("./http-
|
|
14
|
+
const require_src = require("./src-BYXxPnpE.cjs");
|
|
15
|
+
const require_http = require("./http-r1r6injY.cjs");
|
|
16
16
|
exports.AssertionCategoriesClient = require_src.AssertionCategoriesClient;
|
|
17
17
|
exports.AssertionGenerationError = require_src.AssertionGenerationError;
|
|
18
18
|
exports.AssertionGenerationTimeoutError = require_src.AssertionGenerationTimeoutError;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioHistoryEntry, 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 WrapBAMLOptions, type WrapJevOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
|
|
1
|
+
import { $ as ReplayBranch, $n as ExperimentRollup, $r as MockOverrideResolver, $t as TraceLabels, A as SpanMethodDecoratorContext, An as ScenarioAction, Ar as VercelGenerateResult, At as GraderLabelSource, B as ActiveSpanContext, Bn as TraceAssertionsResult, Br as SaveCategoryParams, Bt as HumanLabelOutcome, C as NodeMethodDecorator, Cn as SaveAssertionsParams, Cr as RerunGradersResult, Ct as BitfabLangGraphIntegration, D as SeedCaseOptions, Dn as SaveScenarioParams, Dr as BitfabLanguageModelMiddleware, Dt as GetGraderVerdictsParams, E as ReseedResult, En as SaveScenarioHistoryEntry, Er as UpdateDatasetParams, Et as GetGraderLabelsParams, F as WrappedBamlFn, Fn as ScenarioHistoryEntry, Fr as AssertionCategorySummary, Ft as GraderVerdictUpdate, G as SpanListField, Gn as TraceTarget, Gr as SpanOccurrence, Gt as LabelConfidence, H as TraceResponse, Hn as TraceSearchFilters, Hr as CodeChangeFile, Ht as HumanVerdictOutcome, I as getCurrentReplayBranch, In as ScenarioSource, Ir as CategoriesClient, It as GradersClient, J as SpansClient, Jn as Experiment, Jr as flushTraces, Jt as LabelStatus, K as SpanListParams, Kn as TraceTargetOccurrence, Kr as SpanType, Kt as LabelOutcome, L as getCurrentSpan, Ln as ScenarioTrigger, Lr as Category, Lt as ArchiveLabelTarget, M as WrapBAMLOptions, Mn as ScenarioData, Mr as BitfabClaudeAgentHandler, Mt as GraderVerdict, N as WrapJevOptions, Nn as ScenarioDataAppend, Nr as AssertionCategoriesClient, Nt as GraderVerdictOutcome, O as SeedRunOptions, On as SavedTraceAssertion, Or as BitfabVercelAiHandler, Ot as GraderLabel, P as WrapOpenRouterOptions, Pn as ScenarioDataOrigin, Pr as AssertionCategory, Pt as GraderVerdictSource, Q as RivetIntegrationOptions, Qn as ExperimentPage, Qr as MockOverrideInput, Qt as PassFailVerdict, R as getCurrentTrace, Rn as TraceAssertion, Rr as CategorySummary, Rt as ArchiveVerdictTarget, S as DetachedTrace, Si as JustificationSpan, Sn as SaveAssertionsAllParams, Sr as RerunGradersOptions, St as BitfabOpenAIAgentHandler, T as ReseedOptions, Tn as SaveScenarioData, Tr as SaveDatasetResult, Tt as BitfabLangGraphCallbackHandler, U as TracingProcessor, Un as TraceSearchParams, Ur as HttpClient, Ut as HumanVerdictUpdate, V as BitfabOpenAITracingProcessor, Vn as TraceAssertionsUpdate, Vr as CapturedSpan, Vt as HumanLabelUpdate, W as ListedSpan, Wn as TraceSearchResult, Wr as SpanLookup, Wt as LabelAction, X as RivetContextLike, Xn as ExperimentCodeChangeTotals, Xr as MockOverride, Xt as LabelUpdate, Y as BitfabRivetIntegration, Yn as ExperimentCategoryTally, Yr as DbBranchTimings, Yt as LabelTarget, Z as RivetEffectType, Zn as ExperimentJitter, Zr as MockOverrideCtx, Zt as LabelsClient, _ as BitfabConfig, _i as ApprovalFields, _n as AssertionRewrite, _r as GraderRerunStatus, _t as serializeReplayResult, a as ReplayRegistryOptions, ai as MixedTracingError, an as VerdictSource, ar as ExperimentsClient, at as MockStrategy, b as CurrentSpan, bi as Assignee, bn as GenerateAssertionsOptions, br as RemoveDatasetGradersResult, bt as OrganizationMember, c as SeedResult, ci as DbSnapshotRef, cn as VerdictUpdate, cr as AddDatasetTracesResult, ct as ReplayItem, d as seedFromRegistry, di as SelectiveReplayDecision, dn as AssertionEvidenceParameter, dr as DatasetTraceIds, dt as ReplayOptions, ei as MockValue, en as TraceVerdicts, er as ExperimentRollupResult, et as AdaptContext, f as finalizers, fi as SelectiveReplayOptions, fn as AssertionGeneration, fr as DatasetsClient, ft as ReplayProgress, g as Bitfab, gi as ProviderDefinition, gn as AssertionLabelEvidence, gr as GraderRerunResult, gt as reportReplayProgress, h as CommitRef, hi as BamlExecutionResult, hn as AssertionGenerationTimeoutError, hr as GraderRerunProgress, ht as TraceIngestionType, i as ReplayRegistryContext, ii as BitfabError, in as VerdictOutcome, ir as ExperimentTotals, it as DbBranchReplayError, j as SpanOptions, jn as ScenarioActualOutcome, jr as VercelStreamResult, jt as GraderLabelUpdate, k as SpanMethodDecorator, kn as Scenario, kr as VercelCallParams, kt as GraderLabelOutcome, l as defineReplayRegistry, li as SUPPORTED_PROVIDERS, ln as VerdictsClient, lr as Dataset, lt as ReplayItemFinishProgress, m as __version__, mi as AllowedEnvVars, mn as AssertionGenerationStatus, mr as GraderRerunError, mt as ReplayResult, n as ReplayRegistration, ni as NodeMatcher, nn as VerdictAction, nr as ExperimentStatus, nt as BITFAB_PROGRESS_PREFIX, o as ReseedRegistryResult, oi as DbSnapshotConfig, on as VerdictStatus, or as ListExperimentsParams, ot as ReplayError, p as DEFAULT_SERVICE_URL, pi as SelectiveReplayReport, pn as AssertionGenerationError, pr as GraderRerun, pt as ReplayProgressItem, q as SpanListResult, qn as TracesClient, qr as TokenUsage, qt as LabelSource, r as ReplayRegistry, ri as SpanNodeMeta, rn as VerdictConfidence, rr as ExperimentTally, rt as DbBranchOptions, s as SeedCase, si as DbSnapshotProvider, sn as VerdictTarget, sr as AddDatasetGradersResult, st as ReplayExperiment, t as ReplayOptionsFactory, ti as NO_MOCK_OVERRIDE, tn as Verdict, tr as ExperimentRunBy, tt as AdaptInputsFn, u as reseedFromRegistry, ui as ReplayNodeIdentity, un as ArchiveAssertionsParams, ur as DatasetGraderRef, ut as ReplayItemStartProgress, v as BitfabFunction, vi as ApprovalState, vn as AssertionRewriteStatus, vr as GraderRerunTimeoutError, vt as ReplayInterrupt, w as NodeOptions, wn as SaveScenarioActualOutcome, wr as SaveDatasetParams, wt as LangGraphIntegrationOptions, x as CurrentTrace, xi as Justification, xn as SaveAssertion, xr as RemoveDatasetTracesResult, xt as OrganizationMembersClient, y as CaptureWhen, yi as Approver, yn as AssertionVerdictEvidence, yr as ListDatasetsParams, yt as ReplayInterruptSignal, z as CaptureSurface, zn as TraceAssertionSource, zr as SaveAssertionCategoryParams, zt as AssertionVerdict } from "./index-BQV7zzJx.cjs";
|
|
2
|
+
export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioHistoryEntry, 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 WrapBAMLOptions, type WrapJevOptions, 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
|
|
2
|
-
export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioHistoryEntry, 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 WrapBAMLOptions, type WrapJevOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
|
|
1
|
+
import { $ as ReplayBranch, $n as ExperimentRollup, $r as MockOverrideResolver, $t as TraceLabels, A as SpanMethodDecoratorContext, An as ScenarioAction, Ar as VercelGenerateResult, At as GraderLabelSource, B as ActiveSpanContext, Bn as TraceAssertionsResult, Br as SaveCategoryParams, Bt as HumanLabelOutcome, C as NodeMethodDecorator, Cn as SaveAssertionsParams, Cr as RerunGradersResult, Ct as BitfabLangGraphIntegration, D as SeedCaseOptions, Dn as SaveScenarioParams, Dr as BitfabLanguageModelMiddleware, Dt as GetGraderVerdictsParams, E as ReseedResult, En as SaveScenarioHistoryEntry, Er as UpdateDatasetParams, Et as GetGraderLabelsParams, F as WrappedBamlFn, Fn as ScenarioHistoryEntry, Fr as AssertionCategorySummary, Ft as GraderVerdictUpdate, G as SpanListField, Gn as TraceTarget, Gr as SpanOccurrence, Gt as LabelConfidence, H as TraceResponse, Hn as TraceSearchFilters, Hr as CodeChangeFile, Ht as HumanVerdictOutcome, I as getCurrentReplayBranch, In as ScenarioSource, Ir as CategoriesClient, It as GradersClient, J as SpansClient, Jn as Experiment, Jr as flushTraces, Jt as LabelStatus, K as SpanListParams, Kn as TraceTargetOccurrence, Kr as SpanType, Kt as LabelOutcome, L as getCurrentSpan, Ln as ScenarioTrigger, Lr as Category, Lt as ArchiveLabelTarget, M as WrapBAMLOptions, Mn as ScenarioData, Mr as BitfabClaudeAgentHandler, Mt as GraderVerdict, N as WrapJevOptions, Nn as ScenarioDataAppend, Nr as AssertionCategoriesClient, Nt as GraderVerdictOutcome, O as SeedRunOptions, On as SavedTraceAssertion, Or as BitfabVercelAiHandler, Ot as GraderLabel, P as WrapOpenRouterOptions, Pn as ScenarioDataOrigin, Pr as AssertionCategory, Pt as GraderVerdictSource, Q as RivetIntegrationOptions, Qn as ExperimentPage, Qr as MockOverrideInput, Qt as PassFailVerdict, R as getCurrentTrace, Rn as TraceAssertion, Rr as CategorySummary, Rt as ArchiveVerdictTarget, S as DetachedTrace, Si as JustificationSpan, Sn as SaveAssertionsAllParams, Sr as RerunGradersOptions, St as BitfabOpenAIAgentHandler, T as ReseedOptions, Tn as SaveScenarioData, Tr as SaveDatasetResult, Tt as BitfabLangGraphCallbackHandler, U as TracingProcessor, Un as TraceSearchParams, Ur as HttpClient, Ut as HumanVerdictUpdate, V as BitfabOpenAITracingProcessor, Vn as TraceAssertionsUpdate, Vr as CapturedSpan, Vt as HumanLabelUpdate, W as ListedSpan, Wn as TraceSearchResult, Wr as SpanLookup, Wt as LabelAction, X as RivetContextLike, Xn as ExperimentCodeChangeTotals, Xr as MockOverride, Xt as LabelUpdate, Y as BitfabRivetIntegration, Yn as ExperimentCategoryTally, Yr as DbBranchTimings, Yt as LabelTarget, Z as RivetEffectType, Zn as ExperimentJitter, Zr as MockOverrideCtx, Zt as LabelsClient, _ as BitfabConfig, _i as ApprovalFields, _n as AssertionRewrite, _r as GraderRerunStatus, _t as serializeReplayResult, a as ReplayRegistryOptions, ai as MixedTracingError, an as VerdictSource, ar as ExperimentsClient, at as MockStrategy, b as CurrentSpan, bi as Assignee, bn as GenerateAssertionsOptions, br as RemoveDatasetGradersResult, bt as OrganizationMember, c as SeedResult, ci as DbSnapshotRef, cn as VerdictUpdate, cr as AddDatasetTracesResult, ct as ReplayItem, d as seedFromRegistry, di as SelectiveReplayDecision, dn as AssertionEvidenceParameter, dr as DatasetTraceIds, dt as ReplayOptions, ei as MockValue, en as TraceVerdicts, er as ExperimentRollupResult, et as AdaptContext, f as finalizers, fi as SelectiveReplayOptions, fn as AssertionGeneration, fr as DatasetsClient, ft as ReplayProgress, g as Bitfab, gi as ProviderDefinition, gn as AssertionLabelEvidence, gr as GraderRerunResult, gt as reportReplayProgress, h as CommitRef, hi as BamlExecutionResult, hn as AssertionGenerationTimeoutError, hr as GraderRerunProgress, ht as TraceIngestionType, i as ReplayRegistryContext, ii as BitfabError, in as VerdictOutcome, ir as ExperimentTotals, it as DbBranchReplayError, j as SpanOptions, jn as ScenarioActualOutcome, jr as VercelStreamResult, jt as GraderLabelUpdate, k as SpanMethodDecorator, kn as Scenario, kr as VercelCallParams, kt as GraderLabelOutcome, l as defineReplayRegistry, li as SUPPORTED_PROVIDERS, ln as VerdictsClient, lr as Dataset, lt as ReplayItemFinishProgress, m as __version__, mi as AllowedEnvVars, mn as AssertionGenerationStatus, mr as GraderRerunError, mt as ReplayResult, n as ReplayRegistration, ni as NodeMatcher, nn as VerdictAction, nr as ExperimentStatus, nt as BITFAB_PROGRESS_PREFIX, o as ReseedRegistryResult, oi as DbSnapshotConfig, on as VerdictStatus, or as ListExperimentsParams, ot as ReplayError, p as DEFAULT_SERVICE_URL, pi as SelectiveReplayReport, pn as AssertionGenerationError, pr as GraderRerun, pt as ReplayProgressItem, q as SpanListResult, qn as TracesClient, qr as TokenUsage, qt as LabelSource, r as ReplayRegistry, ri as SpanNodeMeta, rn as VerdictConfidence, rr as ExperimentTally, rt as DbBranchOptions, s as SeedCase, si as DbSnapshotProvider, sn as VerdictTarget, sr as AddDatasetGradersResult, st as ReplayExperiment, t as ReplayOptionsFactory, ti as NO_MOCK_OVERRIDE, tn as Verdict, tr as ExperimentRunBy, tt as AdaptInputsFn, u as reseedFromRegistry, ui as ReplayNodeIdentity, un as ArchiveAssertionsParams, ur as DatasetGraderRef, ut as ReplayItemStartProgress, v as BitfabFunction, vi as ApprovalState, vn as AssertionRewriteStatus, vr as GraderRerunTimeoutError, vt as ReplayInterrupt, w as NodeOptions, wn as SaveScenarioActualOutcome, wr as SaveDatasetParams, wt as LangGraphIntegrationOptions, x as CurrentTrace, xi as Justification, xn as SaveAssertion, xr as RemoveDatasetTracesResult, xt as OrganizationMembersClient, y as CaptureWhen, yi as Approver, yn as AssertionVerdictEvidence, yr as ListDatasetsParams, yt as ReplayInterruptSignal, z as CaptureSurface, zn as TraceAssertionSource, zr as SaveAssertionCategoryParams, zt as AssertionVerdict } from "./index-BQV7zzJx.js";
|
|
2
|
+
export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioHistoryEntry, 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 WrapBAMLOptions, type WrapJevOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
|
package/dist/index.js
CHANGED
|
@@ -7,6 +7,6 @@ if (typeof globalThis.__bitfab_deprecation_warned === "undefined") {
|
|
|
7
7
|
"The bitfab package will stop receiving updates in a future release."
|
|
8
8
|
);
|
|
9
9
|
}
|
|
10
|
-
import { A as ExperimentsClient, C as BitfabOpenAIAgentHandler, D as GradersClient, E as BitfabLangGraphCallbackHandler, F as BitfabClaudeAgentHandler, I as DEFAULT_SERVICE_URL, L as AssertionCategoriesClient, M as DatasetsClient, N as GraderRerunError, O as LabelsClient, P as GraderRerunTimeoutError, R as CategoriesClient, S as OrganizationMembersClient, T as BitfabLangGraphIntegration, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as SUPPORTED_PROVIDERS, k as VerdictsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as NO_MOCK_OVERRIDE, x as serializeReplayResult, y as ReplayError } from "./src-
|
|
11
|
-
import { S as MixedTracingError, i as flushTraces, t as HttpClient, w as __version__, x as BitfabError } from "./http-
|
|
10
|
+
import { A as ExperimentsClient, C as BitfabOpenAIAgentHandler, D as GradersClient, E as BitfabLangGraphCallbackHandler, F as BitfabClaudeAgentHandler, I as DEFAULT_SERVICE_URL, L as AssertionCategoriesClient, M as DatasetsClient, N as GraderRerunError, O as LabelsClient, P as GraderRerunTimeoutError, R as CategoriesClient, S as OrganizationMembersClient, T as BitfabLangGraphIntegration, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as SUPPORTED_PROVIDERS, k as VerdictsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as NO_MOCK_OVERRIDE, x as serializeReplayResult, y as ReplayError } from "./src-Cps3Xs_J.js";
|
|
11
|
+
import { S as MixedTracingError, i as flushTraces, t as HttpClient, w as __version__, x as BitfabError } from "./http-f8Rl8oRa.js";
|
|
12
12
|
export { AssertionCategoriesClient, AssertionGenerationError, AssertionGenerationTimeoutError, BITFAB_PROGRESS_PREFIX, Bitfab, BitfabClaudeAgentHandler, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, CategoriesClient, DEFAULT_SERVICE_URL, DatasetsClient, DbBranchReplayError, ExperimentsClient, GraderRerunError, GraderRerunTimeoutError, GradersClient, HttpClient, LabelsClient, MixedTracingError, NO_MOCK_OVERRIDE, OrganizationMembersClient, ReplayError, SUPPORTED_PROVIDERS, SpansClient, TracesClient, VerdictsClient, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
|
package/dist/node.cjs
CHANGED
|
@@ -11,9 +11,9 @@ Object.defineProperties(exports, {
|
|
|
11
11
|
__esModule: { value: true },
|
|
12
12
|
[Symbol.toStringTag]: { value: "Module" }
|
|
13
13
|
});
|
|
14
|
-
const require_src = require("./src-
|
|
15
|
-
const require_http = require("./http-
|
|
16
|
-
const require_autoTrace = require("./autoTrace-
|
|
14
|
+
const require_src = require("./src-BYXxPnpE.cjs");
|
|
15
|
+
const require_http = require("./http-r1r6injY.cjs");
|
|
16
|
+
const require_autoTrace = require("./autoTrace-D3-OZcmR.cjs");
|
|
17
17
|
let async_hooks = require("async_hooks");
|
|
18
18
|
//#region src/asyncStorageNode.ts
|
|
19
19
|
require_autoTrace.registerAsyncLocalStorageClass(async_hooks.AsyncLocalStorage);
|
package/dist/node.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ 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 AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioHistoryEntry, 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 WrapBAMLOptions, type WrapJevOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
|
|
1
|
+
import { $ as ReplayBranch, $n as ExperimentRollup, $r as MockOverrideResolver, $t as TraceLabels, A as SpanMethodDecoratorContext, An as ScenarioAction, Ar as VercelGenerateResult, At as GraderLabelSource, B as ActiveSpanContext, Bn as TraceAssertionsResult, Br as SaveCategoryParams, Bt as HumanLabelOutcome, C as NodeMethodDecorator, Cn as SaveAssertionsParams, Cr as RerunGradersResult, Ct as BitfabLangGraphIntegration, D as SeedCaseOptions, Dn as SaveScenarioParams, Dr as BitfabLanguageModelMiddleware, Dt as GetGraderVerdictsParams, E as ReseedResult, En as SaveScenarioHistoryEntry, Er as UpdateDatasetParams, Et as GetGraderLabelsParams, F as WrappedBamlFn, Fn as ScenarioHistoryEntry, Fr as AssertionCategorySummary, Ft as GraderVerdictUpdate, G as SpanListField, Gn as TraceTarget, Gr as SpanOccurrence, Gt as LabelConfidence, H as TraceResponse, Hn as TraceSearchFilters, Hr as CodeChangeFile, Ht as HumanVerdictOutcome, I as getCurrentReplayBranch, In as ScenarioSource, Ir as CategoriesClient, It as GradersClient, J as SpansClient, Jn as Experiment, Jr as flushTraces, Jt as LabelStatus, K as SpanListParams, Kn as TraceTargetOccurrence, Kr as SpanType, Kt as LabelOutcome, L as getCurrentSpan, Ln as ScenarioTrigger, Lr as Category, Lt as ArchiveLabelTarget, M as WrapBAMLOptions, Mn as ScenarioData, Mr as BitfabClaudeAgentHandler, Mt as GraderVerdict, N as WrapJevOptions, Nn as ScenarioDataAppend, Nr as AssertionCategoriesClient, Nt as GraderVerdictOutcome, O as SeedRunOptions, On as SavedTraceAssertion, Or as BitfabVercelAiHandler, Ot as GraderLabel, P as WrapOpenRouterOptions, Pn as ScenarioDataOrigin, Pr as AssertionCategory, Pt as GraderVerdictSource, Q as RivetIntegrationOptions, Qn as ExperimentPage, Qr as MockOverrideInput, Qt as PassFailVerdict, R as getCurrentTrace, Rn as TraceAssertion, Rr as CategorySummary, Rt as ArchiveVerdictTarget, S as DetachedTrace, Si as JustificationSpan, Sn as SaveAssertionsAllParams, Sr as RerunGradersOptions, St as BitfabOpenAIAgentHandler, T as ReseedOptions, Tn as SaveScenarioData, Tr as SaveDatasetResult, Tt as BitfabLangGraphCallbackHandler, U as TracingProcessor, Un as TraceSearchParams, Ur as HttpClient, Ut as HumanVerdictUpdate, V as BitfabOpenAITracingProcessor, Vn as TraceAssertionsUpdate, Vr as CapturedSpan, Vt as HumanLabelUpdate, W as ListedSpan, Wn as TraceSearchResult, Wr as SpanLookup, Wt as LabelAction, X as RivetContextLike, Xn as ExperimentCodeChangeTotals, Xr as MockOverride, Xt as LabelUpdate, Y as BitfabRivetIntegration, Yn as ExperimentCategoryTally, Yr as DbBranchTimings, Yt as LabelTarget, Z as RivetEffectType, Zn as ExperimentJitter, Zr as MockOverrideCtx, Zt as LabelsClient, _ as BitfabConfig, _i as ApprovalFields, _n as AssertionRewrite, _r as GraderRerunStatus, _t as serializeReplayResult, a as ReplayRegistryOptions, ai as MixedTracingError, an as VerdictSource, ar as ExperimentsClient, at as MockStrategy, b as CurrentSpan, bi as Assignee, bn as GenerateAssertionsOptions, br as RemoveDatasetGradersResult, bt as OrganizationMember, c as SeedResult, ci as DbSnapshotRef, cn as VerdictUpdate, cr as AddDatasetTracesResult, ct as ReplayItem, d as seedFromRegistry, di as SelectiveReplayDecision, dn as AssertionEvidenceParameter, dr as DatasetTraceIds, dt as ReplayOptions, ei as MockValue, en as TraceVerdicts, er as ExperimentRollupResult, et as AdaptContext, f as finalizers, fi as SelectiveReplayOptions, fn as AssertionGeneration, fr as DatasetsClient, ft as ReplayProgress, g as Bitfab, gi as ProviderDefinition, gn as AssertionLabelEvidence, gr as GraderRerunResult, gt as reportReplayProgress, h as CommitRef, hi as BamlExecutionResult, hn as AssertionGenerationTimeoutError, hr as GraderRerunProgress, ht as TraceIngestionType, i as ReplayRegistryContext, ii as BitfabError, in as VerdictOutcome, ir as ExperimentTotals, it as DbBranchReplayError, j as SpanOptions, jn as ScenarioActualOutcome, jr as VercelStreamResult, jt as GraderLabelUpdate, k as SpanMethodDecorator, kn as Scenario, kr as VercelCallParams, kt as GraderLabelOutcome, l as defineReplayRegistry, li as SUPPORTED_PROVIDERS, ln as VerdictsClient, lr as Dataset, lt as ReplayItemFinishProgress, m as __version__, mi as AllowedEnvVars, mn as AssertionGenerationStatus, mr as GraderRerunError, mt as ReplayResult, n as ReplayRegistration, ni as NodeMatcher, nn as VerdictAction, nr as ExperimentStatus, nt as BITFAB_PROGRESS_PREFIX, o as ReseedRegistryResult, oi as DbSnapshotConfig, on as VerdictStatus, or as ListExperimentsParams, ot as ReplayError, p as DEFAULT_SERVICE_URL, pi as SelectiveReplayReport, pn as AssertionGenerationError, pr as GraderRerun, pt as ReplayProgressItem, q as SpanListResult, qn as TracesClient, qr as TokenUsage, qt as LabelSource, r as ReplayRegistry, ri as SpanNodeMeta, rn as VerdictConfidence, rr as ExperimentTally, rt as DbBranchOptions, s as SeedCase, si as DbSnapshotProvider, sn as VerdictTarget, sr as AddDatasetGradersResult, st as ReplayExperiment, t as ReplayOptionsFactory, ti as NO_MOCK_OVERRIDE, tn as Verdict, tr as ExperimentRunBy, tt as AdaptInputsFn, u as reseedFromRegistry, ui as ReplayNodeIdentity, un as ArchiveAssertionsParams, ur as DatasetGraderRef, ut as ReplayItemStartProgress, v as BitfabFunction, vi as ApprovalState, vn as AssertionRewriteStatus, vr as GraderRerunTimeoutError, vt as ReplayInterrupt, w as NodeOptions, wn as SaveScenarioActualOutcome, wr as SaveDatasetParams, wt as LangGraphIntegrationOptions, x as CurrentTrace, xi as Justification, xn as SaveAssertion, xr as RemoveDatasetTracesResult, xt as OrganizationMembersClient, y as CaptureWhen, yi as Approver, yn as AssertionVerdictEvidence, yr as ListDatasetsParams, yt as ReplayInterruptSignal, z as CaptureSurface, zn as TraceAssertionSource, zr as SaveAssertionCategoryParams, zt as AssertionVerdict } from "./index-BQV7zzJx.cjs";
|
|
2
|
+
export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioHistoryEntry, 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 WrapBAMLOptions, type WrapJevOptions, 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
|
|
2
|
-
export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioHistoryEntry, 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 WrapBAMLOptions, type WrapJevOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
|
|
1
|
+
import { $ as ReplayBranch, $n as ExperimentRollup, $r as MockOverrideResolver, $t as TraceLabels, A as SpanMethodDecoratorContext, An as ScenarioAction, Ar as VercelGenerateResult, At as GraderLabelSource, B as ActiveSpanContext, Bn as TraceAssertionsResult, Br as SaveCategoryParams, Bt as HumanLabelOutcome, C as NodeMethodDecorator, Cn as SaveAssertionsParams, Cr as RerunGradersResult, Ct as BitfabLangGraphIntegration, D as SeedCaseOptions, Dn as SaveScenarioParams, Dr as BitfabLanguageModelMiddleware, Dt as GetGraderVerdictsParams, E as ReseedResult, En as SaveScenarioHistoryEntry, Er as UpdateDatasetParams, Et as GetGraderLabelsParams, F as WrappedBamlFn, Fn as ScenarioHistoryEntry, Fr as AssertionCategorySummary, Ft as GraderVerdictUpdate, G as SpanListField, Gn as TraceTarget, Gr as SpanOccurrence, Gt as LabelConfidence, H as TraceResponse, Hn as TraceSearchFilters, Hr as CodeChangeFile, Ht as HumanVerdictOutcome, I as getCurrentReplayBranch, In as ScenarioSource, Ir as CategoriesClient, It as GradersClient, J as SpansClient, Jn as Experiment, Jr as flushTraces, Jt as LabelStatus, K as SpanListParams, Kn as TraceTargetOccurrence, Kr as SpanType, Kt as LabelOutcome, L as getCurrentSpan, Ln as ScenarioTrigger, Lr as Category, Lt as ArchiveLabelTarget, M as WrapBAMLOptions, Mn as ScenarioData, Mr as BitfabClaudeAgentHandler, Mt as GraderVerdict, N as WrapJevOptions, Nn as ScenarioDataAppend, Nr as AssertionCategoriesClient, Nt as GraderVerdictOutcome, O as SeedRunOptions, On as SavedTraceAssertion, Or as BitfabVercelAiHandler, Ot as GraderLabel, P as WrapOpenRouterOptions, Pn as ScenarioDataOrigin, Pr as AssertionCategory, Pt as GraderVerdictSource, Q as RivetIntegrationOptions, Qn as ExperimentPage, Qr as MockOverrideInput, Qt as PassFailVerdict, R as getCurrentTrace, Rn as TraceAssertion, Rr as CategorySummary, Rt as ArchiveVerdictTarget, S as DetachedTrace, Si as JustificationSpan, Sn as SaveAssertionsAllParams, Sr as RerunGradersOptions, St as BitfabOpenAIAgentHandler, T as ReseedOptions, Tn as SaveScenarioData, Tr as SaveDatasetResult, Tt as BitfabLangGraphCallbackHandler, U as TracingProcessor, Un as TraceSearchParams, Ur as HttpClient, Ut as HumanVerdictUpdate, V as BitfabOpenAITracingProcessor, Vn as TraceAssertionsUpdate, Vr as CapturedSpan, Vt as HumanLabelUpdate, W as ListedSpan, Wn as TraceSearchResult, Wr as SpanLookup, Wt as LabelAction, X as RivetContextLike, Xn as ExperimentCodeChangeTotals, Xr as MockOverride, Xt as LabelUpdate, Y as BitfabRivetIntegration, Yn as ExperimentCategoryTally, Yr as DbBranchTimings, Yt as LabelTarget, Z as RivetEffectType, Zn as ExperimentJitter, Zr as MockOverrideCtx, Zt as LabelsClient, _ as BitfabConfig, _i as ApprovalFields, _n as AssertionRewrite, _r as GraderRerunStatus, _t as serializeReplayResult, a as ReplayRegistryOptions, ai as MixedTracingError, an as VerdictSource, ar as ExperimentsClient, at as MockStrategy, b as CurrentSpan, bi as Assignee, bn as GenerateAssertionsOptions, br as RemoveDatasetGradersResult, bt as OrganizationMember, c as SeedResult, ci as DbSnapshotRef, cn as VerdictUpdate, cr as AddDatasetTracesResult, ct as ReplayItem, d as seedFromRegistry, di as SelectiveReplayDecision, dn as AssertionEvidenceParameter, dr as DatasetTraceIds, dt as ReplayOptions, ei as MockValue, en as TraceVerdicts, er as ExperimentRollupResult, et as AdaptContext, f as finalizers, fi as SelectiveReplayOptions, fn as AssertionGeneration, fr as DatasetsClient, ft as ReplayProgress, g as Bitfab, gi as ProviderDefinition, gn as AssertionLabelEvidence, gr as GraderRerunResult, gt as reportReplayProgress, h as CommitRef, hi as BamlExecutionResult, hn as AssertionGenerationTimeoutError, hr as GraderRerunProgress, ht as TraceIngestionType, i as ReplayRegistryContext, ii as BitfabError, in as VerdictOutcome, ir as ExperimentTotals, it as DbBranchReplayError, j as SpanOptions, jn as ScenarioActualOutcome, jr as VercelStreamResult, jt as GraderLabelUpdate, k as SpanMethodDecorator, kn as Scenario, kr as VercelCallParams, kt as GraderLabelOutcome, l as defineReplayRegistry, li as SUPPORTED_PROVIDERS, ln as VerdictsClient, lr as Dataset, lt as ReplayItemFinishProgress, m as __version__, mi as AllowedEnvVars, mn as AssertionGenerationStatus, mr as GraderRerunError, mt as ReplayResult, n as ReplayRegistration, ni as NodeMatcher, nn as VerdictAction, nr as ExperimentStatus, nt as BITFAB_PROGRESS_PREFIX, o as ReseedRegistryResult, oi as DbSnapshotConfig, on as VerdictStatus, or as ListExperimentsParams, ot as ReplayError, p as DEFAULT_SERVICE_URL, pi as SelectiveReplayReport, pn as AssertionGenerationError, pr as GraderRerun, pt as ReplayProgressItem, q as SpanListResult, qn as TracesClient, qr as TokenUsage, qt as LabelSource, r as ReplayRegistry, ri as SpanNodeMeta, rn as VerdictConfidence, rr as ExperimentTally, rt as DbBranchOptions, s as SeedCase, si as DbSnapshotProvider, sn as VerdictTarget, sr as AddDatasetGradersResult, st as ReplayExperiment, t as ReplayOptionsFactory, ti as NO_MOCK_OVERRIDE, tn as Verdict, tr as ExperimentRunBy, tt as AdaptInputsFn, u as reseedFromRegistry, ui as ReplayNodeIdentity, un as ArchiveAssertionsParams, ur as DatasetGraderRef, ut as ReplayItemStartProgress, v as BitfabFunction, vi as ApprovalState, vn as AssertionRewriteStatus, vr as GraderRerunTimeoutError, vt as ReplayInterrupt, w as NodeOptions, wn as SaveScenarioActualOutcome, wr as SaveDatasetParams, wt as LangGraphIntegrationOptions, x as CurrentTrace, xi as Justification, xn as SaveAssertion, xr as RemoveDatasetTracesResult, xt as OrganizationMembersClient, y as CaptureWhen, yi as Approver, yn as AssertionVerdictEvidence, yr as ListDatasetsParams, yt as ReplayInterruptSignal, z as CaptureSurface, zn as TraceAssertionSource, zr as SaveAssertionCategoryParams, zt as AssertionVerdict } from "./index-BQV7zzJx.js";
|
|
2
|
+
export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioHistoryEntry, 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 WrapBAMLOptions, type WrapJevOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
|
package/dist/node.js
CHANGED
|
@@ -7,9 +7,9 @@ if (typeof globalThis.__bitfab_deprecation_warned === "undefined") {
|
|
|
7
7
|
"The bitfab package will stop receiving updates in a future release."
|
|
8
8
|
);
|
|
9
9
|
}
|
|
10
|
-
import { A as ExperimentsClient, C as BitfabOpenAIAgentHandler, D as GradersClient, E as BitfabLangGraphCallbackHandler, F as BitfabClaudeAgentHandler, I as DEFAULT_SERVICE_URL, L as AssertionCategoriesClient, M as DatasetsClient, N as GraderRerunError, O as LabelsClient, P as GraderRerunTimeoutError, R as CategoriesClient, S as OrganizationMembersClient, T as BitfabLangGraphIntegration, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as SUPPORTED_PROVIDERS, k as VerdictsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as NO_MOCK_OVERRIDE, x as serializeReplayResult, y as ReplayError } from "./src-
|
|
11
|
-
import { S as MixedTracingError, i as flushTraces, t as HttpClient, w as __version__, x as BitfabError } from "./http-
|
|
12
|
-
import { C as
|
|
10
|
+
import { A as ExperimentsClient, C as BitfabOpenAIAgentHandler, D as GradersClient, E as BitfabLangGraphCallbackHandler, F as BitfabClaudeAgentHandler, I as DEFAULT_SERVICE_URL, L as AssertionCategoriesClient, M as DatasetsClient, N as GraderRerunError, O as LabelsClient, P as GraderRerunTimeoutError, R as CategoriesClient, S as OrganizationMembersClient, T as BitfabLangGraphIntegration, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as SUPPORTED_PROVIDERS, k as VerdictsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as NO_MOCK_OVERRIDE, x as serializeReplayResult, y as ReplayError } from "./src-Cps3Xs_J.js";
|
|
11
|
+
import { S as MixedTracingError, i as flushTraces, t as HttpClient, w as __version__, x as BitfabError } from "./http-f8Rl8oRa.js";
|
|
12
|
+
import { C as assertAsyncStorageRegistered, D as registerAsyncLocalStorageClass } from "./autoTrace-ghnojSj9.js";
|
|
13
13
|
import { AsyncLocalStorage } from "async_hooks";
|
|
14
14
|
//#region src/asyncStorageNode.ts
|
|
15
15
|
registerAsyncLocalStorageClass(AsyncLocalStorage);
|