bitfab 0.68.4 → 0.68.5

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.
Files changed (68) hide show
  1. package/dist/{autoTrace-D3-OZcmR.cjs → autoTrace-DUmR1KJ8.cjs} +417 -62
  2. package/dist/autoTrace-DUmR1KJ8.cjs.map +1 -0
  3. package/dist/{autoTrace-ghnojSj9.js → autoTrace-DVnpnuMb.js} +322 -57
  4. package/dist/autoTrace-DVnpnuMb.js.map +1 -0
  5. package/dist/autoTrace.cjs +3 -1
  6. package/dist/autoTrace.d.cts +29 -1
  7. package/dist/autoTrace.d.ts +29 -1
  8. package/dist/autoTrace.js +1 -1
  9. package/dist/{babelPlugin-0uOq-j1Q.cjs → babelPlugin-C0Im6AZ2.cjs} +37 -14
  10. package/dist/babelPlugin-C0Im6AZ2.cjs.map +1 -0
  11. package/dist/{babelPlugin-Muq0uuuu.js → babelPlugin-hS2Hb2vt.js} +37 -14
  12. package/dist/babelPlugin-hS2Hb2vt.js.map +1 -0
  13. package/dist/baml.cjs +1 -1
  14. package/dist/baml.js +1 -1
  15. package/dist/{bamlPeer-BUoZgNxZ.cjs → bamlPeer-5Ohpq8q9.cjs} +3 -17
  16. package/dist/bamlPeer-5Ohpq8q9.cjs.map +1 -0
  17. package/dist/{bamlPeer-CIVwS68E.js → bamlPeer-Dyeb3e5o.js} +3 -11
  18. package/dist/bamlPeer-Dyeb3e5o.js.map +1 -0
  19. package/dist/{http-BGY4ULH5.js → http-CDqaLdge.js} +3 -3
  20. package/dist/{http-BGY4ULH5.js.map → http-CDqaLdge.js.map} +1 -1
  21. package/dist/{http-C-HrwUb8.cjs → http-DFqFW_hG.cjs} +4 -4
  22. package/dist/{http-C-HrwUb8.cjs.map → http-DFqFW_hG.cjs.map} +1 -1
  23. package/dist/{index-BcGxu85i.d.cts → index-DMJ6qrtL.d.cts} +109 -2
  24. package/dist/{index-BcGxu85i.d.ts → index-DMJ6qrtL.d.ts} +109 -2
  25. package/dist/index.cjs +2 -2
  26. package/dist/index.d.cts +2 -2
  27. package/dist/index.d.ts +2 -2
  28. package/dist/index.js +2 -2
  29. package/dist/node.cjs +3 -3
  30. package/dist/node.d.cts +2 -2
  31. package/dist/node.d.ts +2 -2
  32. package/dist/node.js +3 -3
  33. package/dist/optionalPeer-CUH756lt.cjs +17 -0
  34. package/dist/optionalPeer-CUH756lt.cjs.map +1 -0
  35. package/dist/optionalPeer-CczrzrXx.js +12 -0
  36. package/dist/optionalPeer-CczrzrXx.js.map +1 -0
  37. package/dist/{registryCommand-Dk4Y1ZgW.js → registryCommand-D7bfo0Au.js} +179 -8
  38. package/dist/registryCommand-D7bfo0Au.js.map +1 -0
  39. package/dist/replayCli.js +1 -1
  40. package/dist/seedCli.js +1 -1
  41. package/dist/{src-BG2_8Fpf.cjs → src-CxELko3f.cjs} +52 -80
  42. package/dist/src-CxELko3f.cjs.map +1 -0
  43. package/dist/{src-Cmfs_7Ib.js → src-DvVk1aLi.js} +41 -69
  44. package/dist/src-DvVk1aLi.js.map +1 -0
  45. package/dist/transform/babel.cjs +1 -1
  46. package/dist/transform/babel.js +1 -1
  47. package/dist/transform/loaderRuntime.cjs +2 -2
  48. package/dist/transform/loaderRuntime.js +2 -2
  49. package/dist/transform/nodeLoader.js +36 -13
  50. package/dist/transform/nodeLoader.js.map +1 -1
  51. package/dist/transform/swc.cjs +1 -1
  52. package/dist/transform/swc.js +1 -1
  53. package/dist/transform/unplugin.cjs +2 -2
  54. package/dist/transform/unplugin.js +2 -2
  55. package/dist/{transform-CAJyLLe2.js → transform-BL1fJW-C.js} +2 -2
  56. package/dist/{transform-CAJyLLe2.js.map → transform-BL1fJW-C.js.map} +1 -1
  57. package/dist/{transform-ClCOpCZ2.cjs → transform-C4H7TKW-.cjs} +2 -2
  58. package/dist/{transform-ClCOpCZ2.cjs.map → transform-C4H7TKW-.cjs.map} +1 -1
  59. package/package.json +1 -1
  60. package/dist/autoTrace-D3-OZcmR.cjs.map +0 -1
  61. package/dist/autoTrace-ghnojSj9.js.map +0 -1
  62. package/dist/babelPlugin-0uOq-j1Q.cjs.map +0 -1
  63. package/dist/babelPlugin-Muq0uuuu.js.map +0 -1
  64. package/dist/bamlPeer-BUoZgNxZ.cjs.map +0 -1
  65. package/dist/bamlPeer-CIVwS68E.js.map +0 -1
  66. package/dist/registryCommand-Dk4Y1ZgW.js.map +0 -1
  67. package/dist/src-BG2_8Fpf.cjs.map +0 -1
  68. package/dist/src-Cmfs_7Ib.js.map +0 -1
@@ -3607,6 +3607,14 @@ interface WrapOpenRouterOptions<TResponse> {
3607
3607
  /** Called after each call with the chat completion, for the caller's own usage or cost reporting. */
3608
3608
  onResponse?: (response: TResponse) => void;
3609
3609
  }
3610
+ interface WrapAnthropicOptions<TResponse> {
3611
+ /** Called after each call with the Anthropic message, for the caller's own usage or cost reporting. */
3612
+ onResponse?: (response: TResponse) => void;
3613
+ }
3614
+ interface WrapOpenAIResponsesOptions<TResponse> {
3615
+ /** Called after each call with the OpenAI response, for the caller's own usage or cost reporting. */
3616
+ onResponse?: (response: TResponse) => void;
3617
+ }
3610
3618
  interface WrapBAMLOptions {
3611
3619
  /** Called after each BAML invocation with the Collector instance. */
3612
3620
  onCollector?: (collector: unknown) => void;
@@ -4350,6 +4358,79 @@ declare class Bitfab {
4350
4358
  * @returns An async function with the same signature that records each call
4351
4359
  */
4352
4360
  wrapOpenRouter<TArgs extends unknown[], TResponse>(method: (...args: TArgs) => TResponse | Promise<TResponse>, options?: WrapOpenRouterOptions<TResponse>): (...args: TArgs) => Promise<TResponse>;
4361
+ /**
4362
+ * Wrap a function that sends a request to the Anthropic Messages API to
4363
+ * record the call's prompt, model, token usage, and duration. Bitfab works
4364
+ * out the cost from the model and token counts.
4365
+ *
4366
+ * Like `wrapOpenRouter`, it opens no span of its own. It writes into the
4367
+ * span that is current when the call starts, so call it inside a traced
4368
+ * function. The wrapped function must return the message, as
4369
+ * `anthropic.messages.create` does. When its first argument is the request,
4370
+ * the request's `system` and `messages` become the span's prompt. One
4371
+ * context entry holds `provider` (`"anthropic"`), `model`, `inputTokens`
4372
+ * (every prompt token, cache reads and cache writes included),
4373
+ * `outputTokens`, `cachedInputTokens` (cache reads), and `durationMs`;
4374
+ * fields the response omits are left out.
4375
+ *
4376
+ * Beneath a `withTrace()` root, each `.messages.create(...)` call on an
4377
+ * `@anthropic-ai/sdk` client in code compiled by the build transform is
4378
+ * recorded without this wrapper as its own `llm` span, and a
4379
+ * `wrapAnthropic` around such a call records nothing more. Streaming calls
4380
+ * (`stream: true`) are not recorded.
4381
+ *
4382
+ * ```typescript
4383
+ * const anthropic = new Anthropic()
4384
+ * const send = client.wrapAnthropic(
4385
+ * anthropic.messages.create.bind(anthropic.messages),
4386
+ * )
4387
+ * const message = await send({
4388
+ * model: "claude-sonnet-4-5",
4389
+ * max_tokens: 1024,
4390
+ * messages: [{ role: "user", content: text }],
4391
+ * })
4392
+ * ```
4393
+ *
4394
+ * @param method - A named function that sends the request and returns the message
4395
+ * @param options - `onResponse` is called with each message after it is recorded
4396
+ * @returns An async function with the same signature that records each call
4397
+ */
4398
+ wrapAnthropic<TArgs extends unknown[], TResponse>(method: (...args: TArgs) => TResponse | Promise<TResponse>, options?: WrapAnthropicOptions<TResponse>): (...args: TArgs) => Promise<TResponse>;
4399
+ /**
4400
+ * Wrap a function that sends a request to the OpenAI Responses API to record
4401
+ * the call's prompt, model, token usage, and duration. Bitfab works out the
4402
+ * cost from the model and token counts.
4403
+ *
4404
+ * Like `wrapOpenRouter`, it opens no span of its own. It writes into the
4405
+ * span that is current when the call starts, so call it inside a traced
4406
+ * function. The wrapped function must return the response, as
4407
+ * `openai.responses.create` does. When its first argument is the request,
4408
+ * the request's `instructions` and `input` become the span's prompt. One
4409
+ * context entry holds `provider` (`"openai"`), `model`, `inputTokens`,
4410
+ * `outputTokens`, `cachedInputTokens`, `reasoningTokens`, `costUsd` (only
4411
+ * when the response reports `usage.cost`), and `durationMs`; fields the
4412
+ * response omits are left out.
4413
+ *
4414
+ * Beneath a `withTrace()` root, each `.responses.create(...)` call on an
4415
+ * `openai` client in code compiled by the build transform is recorded
4416
+ * without this wrapper as its own `llm` span, and a `wrapOpenAIResponses`
4417
+ * around such a call records nothing more. Streaming calls (`stream: true`)
4418
+ * are not recorded.
4419
+ *
4420
+ * ```typescript
4421
+ * const openai = new OpenAI()
4422
+ * const respond = client.wrapOpenAIResponses(
4423
+ * openai.responses.create.bind(openai.responses),
4424
+ * )
4425
+ * const response = await respond({ model: "gpt-5-mini", input: text })
4426
+ * ```
4427
+ *
4428
+ * @param method - A named function that sends the request and returns the response
4429
+ * @param options - `onResponse` is called with each response after it is recorded
4430
+ * @returns An async function with the same signature that records each call
4431
+ */
4432
+ wrapOpenAIResponses<TArgs extends unknown[], TResponse>(method: (...args: TArgs) => TResponse | Promise<TResponse>, options?: WrapOpenAIResponsesOptions<TResponse>): (...args: TArgs) => Promise<TResponse>;
4433
+ private wrapClientCall;
4353
4434
  /**
4354
4435
  * Wrap a function to automatically create a span for its inputs and outputs.
4355
4436
  *
@@ -4764,6 +4845,32 @@ declare class BitfabFunction {
4764
4845
  * @returns An async function with the same signature that records each call
4765
4846
  */
4766
4847
  wrapOpenRouter<TArgs extends unknown[], TResponse>(method: (...args: TArgs) => TResponse | Promise<TResponse>, options?: WrapOpenRouterOptions<TResponse>): (...args: TArgs) => Promise<TResponse>;
4848
+ /**
4849
+ * Wrap a function that sends a request to the Anthropic Messages API to
4850
+ * record the call's prompt, model, token usage, and duration. Delegates to
4851
+ * the parent client's wrapAnthropic method.
4852
+ *
4853
+ * Like `wrapJev`, it does not use the bound key and opens no span of its
4854
+ * own: it writes into the span that is current when the call starts.
4855
+ *
4856
+ * @param method - A named function that sends the request and returns the message
4857
+ * @param options - `onResponse` is called with each message after it is recorded
4858
+ * @returns An async function with the same signature that records each call
4859
+ */
4860
+ wrapAnthropic<TArgs extends unknown[], TResponse>(method: (...args: TArgs) => TResponse | Promise<TResponse>, options?: WrapAnthropicOptions<TResponse>): (...args: TArgs) => Promise<TResponse>;
4861
+ /**
4862
+ * Wrap a function that sends a request to the OpenAI Responses API to record
4863
+ * the call's prompt, model, token usage, and duration. Delegates to the
4864
+ * parent client's wrapOpenAIResponses method.
4865
+ *
4866
+ * Like `wrapJev`, it does not use the bound key and opens no span of its
4867
+ * own: it writes into the span that is current when the call starts.
4868
+ *
4869
+ * @param method - A named function that sends the request and returns the response
4870
+ * @param options - `onResponse` is called with each response after it is recorded
4871
+ * @returns An async function with the same signature that records each call
4872
+ */
4873
+ wrapOpenAIResponses<TArgs extends unknown[], TResponse>(method: (...args: TArgs) => TResponse | Promise<TResponse>, options?: WrapOpenAIResponsesOptions<TResponse>): (...args: TArgs) => Promise<TResponse>;
4767
4874
  }
4768
4875
  //#endregion
4769
4876
  //#region src/commitRef.d.ts
@@ -4784,7 +4891,7 @@ interface CommitRef {
4784
4891
  /**
4785
4892
  * SDK version from package.json (injected at build time)
4786
4893
  */
4787
- declare const __version__ = "0.68.4";
4894
+ declare const __version__ = "0.68.5";
4788
4895
  //#endregion
4789
4896
  //#region src/constants.d.ts
4790
4897
  /**
@@ -4926,4 +5033,4 @@ declare function seedFromRegistry(registry: ReplayRegistry, pipeline: string, ca
4926
5033
  run?: boolean;
4927
5034
  }): Promise<SeedResult>;
4928
5035
  //#endregion
4929
- export { ReplayBranch as $, ExperimentJitter as $n, MockOverrideCtx as $r, LabelsClient as $t, SpanMethodDecoratorContext as A, SavedTraceAssertion as An, BitfabVercelAiHandler as Ar, GraderLabel as At, ActiveSpanContext as B, TraceAssertion as Bn, CategorySummary as Br, ArchiveVerdictTarget as Bt, NodeMethodDecorator as C, Justification as Ci, SaveAssertion as Cn, RemoveDatasetTracesResult as Cr, BitfabAgentMiddleware as Ct, SeedCaseOptions as D, SaveScenarioData as Dn, SaveDatasetResult as Dr, BitfabLangGraphCallbackHandler as Dt, ReseedResult as E, SaveScenarioActualOutcome as En, SaveDatasetParams as Er, LangGraphIntegrationOptions as Et, WrappedBamlFn as F, ScenarioDataAppend as Fn, AssertionCategoriesClient as Fr, GraderVerdictOutcome as Ft, SpanListField as G, TraceSearchParams as Gn, HttpClient as Gr, HumanVerdictUpdate as Gt, TraceResponse as H, TraceAssertionsResult as Hn, SaveCategoryParams as Hr, HumanLabelOutcome as Ht, getCurrentReplayBranch as I, ScenarioDataOrigin as In, AssertionCategory as Ir, GraderVerdictSource as It, SpansClient as J, TraceTargetOccurrence as Jn, SpanType as Jr, LabelOutcome as Jt, SpanListParams as K, TraceSearchResult as Kn, SpanLookup as Kr, LabelAction as Kt, getCurrentSpan as L, ScenarioHistoryEntry as Ln, AssertionCategorySummary as Lr, GraderVerdictUpdate as Lt, WrapBAMLOptions as M, ScenarioAction as Mn, VercelGenerateResult as Mr, GraderLabelSource as Mt, WrapJevOptions as N, ScenarioActualOutcome as Nn, VercelStreamResult as Nr, GraderLabelUpdate as Nt, SeedRunOptions as O, SaveScenarioHistoryEntry as On, UpdateDatasetParams as Or, GetGraderLabelsParams as Ot, WrapOpenRouterOptions as P, ScenarioData as Pn, BitfabClaudeAgentHandler as Pr, GraderVerdict as Pt, RivetIntegrationOptions as Q, ExperimentCodeChangeTotals as Qn, MockOverride as Qr, LabelUpdate as Qt, getCurrentTrace as R, ScenarioSource as Rn, CategoriesClient as Rr, GradersClient as Rt, DetachedTrace as S, Assignee as Si, GenerateAssertionsOptions as Sn, RemoveDatasetGradersResult as Sr, BitfabOpenAIAgentHandler as St, ReseedOptions as T, SaveAssertionsParams as Tn, RerunGradersResult as Tr, BitfabLangGraphIntegration as Tt, TracingProcessor as U, TraceAssertionsUpdate as Un, CapturedSpan as Ur, HumanLabelUpdate as Ut, BitfabOpenAITracingProcessor as V, TraceAssertionSource as Vn, SaveAssertionCategoryParams as Vr, AssertionVerdict as Vt, ListedSpan as W, TraceSearchFilters as Wn, CodeChangeFile as Wr, HumanVerdictOutcome as Wt, RivetContextLike as X, Experiment as Xn, flushTraces as Xr, LabelStatus as Xt, BitfabRivetIntegration as Y, TracesClient as Yn, TokenUsage as Yr, LabelSource as Yt, RivetEffectType as Z, ExperimentCategoryTally as Zn, DbBranchTimings as Zr, LabelTarget as Zt, BitfabConfig as _, BamlExecutionResult as _i, AssertionGenerationTimeoutError as _n, GraderRerunProgress as _r, serializeReplayResult as _t, ReplayRegistryOptions as a, SpanNodeMeta as ai, VerdictConfidence as an, ExperimentTally as ar, MockStrategy as at, CurrentSpan as b, ApprovalState as bi, AssertionRewriteStatus as bn, GraderRerunTimeoutError as br, OrganizationMember as bt, SeedResult as c, DbSnapshotConfig as ci, VerdictStatus as cn, ListExperimentsParams as cr, ReplayItem as ct, seedFromRegistry as d, SUPPORTED_PROVIDERS as di, VerdictsClient as dn, Dataset as dr, ReplayOptions as dt, MockOverrideInput as ei, PassFailVerdict as en, ExperimentPage as er, AdaptContext as et, finalizers as f, ReplayNodeIdentity as fi, ArchiveAssertionsParams as fn, DatasetGraderRef as fr, ReplayProgress as ft, Bitfab as g, AllowedEnvVars as gi, AssertionGenerationStatus as gn, GraderRerunError as gr, reportReplayProgress as gt, CommitRef as h, SelectiveReplayReport as hi, AssertionGenerationError as hn, GraderRerun as hr, TraceIngestionType as ht, ReplayRegistryContext as i, NodeMatcher as ii, VerdictAction as in, ExperimentStatus as ir, DbBranchReplayError as it, SpanOptions as j, Scenario as jn, VercelCallParams as jr, GraderLabelOutcome as jt, SpanMethodDecorator as k, SaveScenarioParams as kn, BitfabLanguageModelMiddleware as kr, GetGraderVerdictsParams as kt, defineReplayRegistry as l, DbSnapshotProvider as li, VerdictTarget as ln, AddDatasetGradersResult as lr, ReplayItemFinishProgress as lt, __version__ as m, SelectiveReplayOptions as mi, AssertionGeneration as mn, DatasetsClient as mr, ReplayResult as mt, ReplayRegistration as n, MockValue as ni, TraceVerdicts as nn, ExperimentRollupResult as nr, BITFAB_PROGRESS_PREFIX as nt, ReseedRegistryResult as o, BitfabError as oi, VerdictOutcome as on, ExperimentTotals as or, ReplayError as ot, DEFAULT_SERVICE_URL as p, SelectiveReplayDecision as pi, AssertionEvidenceParameter as pn, DatasetTraceIds as pr, ReplayProgressItem as pt, SpanListResult as q, TraceTarget as qn, SpanOccurrence as qr, LabelConfidence as qt, ReplayRegistry as r, NO_MOCK_OVERRIDE as ri, Verdict as rn, ExperimentRunBy as rr, DbBranchOptions as rt, SeedCase as s, MixedTracingError as si, VerdictSource as sn, ExperimentsClient as sr, ReplayExperiment as st, ReplayOptionsFactory as t, MockOverrideResolver as ti, TraceLabels as tn, ExperimentRollup as tr, AdaptInputsFn as tt, reseedFromRegistry as u, DbSnapshotRef as ui, VerdictUpdate as un, AddDatasetTracesResult as ur, ReplayItemStartProgress as ut, BitfabFunction as v, ProviderDefinition as vi, AssertionLabelEvidence as vn, GraderRerunResult as vr, ReplayInterrupt as vt, NodeOptions as w, JustificationSpan as wi, SaveAssertionsAllParams as wn, RerunGradersOptions as wr, BitfabLangGraphAgent as wt, CurrentTrace as x, Approver as xi, AssertionVerdictEvidence as xn, ListDatasetsParams as xr, OrganizationMembersClient as xt, CaptureWhen as y, ApprovalFields as yi, AssertionRewrite as yn, GraderRerunStatus as yr, ReplayInterruptSignal as yt, CaptureSurface as z, ScenarioTrigger as zn, Category as zr, ArchiveLabelTarget as zt };
5036
+ export { RivetEffectType as $, ExperimentCategoryTally as $n, DbBranchTimings as $r, LabelTarget as $t, SpanMethodDecoratorContext as A, SaveScenarioHistoryEntry as An, UpdateDatasetParams as Ar, GetGraderLabelsParams as At, getCurrentTrace as B, ScenarioSource as Bn, CategoriesClient as Br, GradersClient as Bt, NodeMethodDecorator as C, Approver as Ci, AssertionVerdictEvidence as Cn, ListDatasetsParams as Cr, OrganizationMembersClient as Ct, SeedCaseOptions as D, SaveAssertionsParams as Dn, RerunGradersResult as Dr, BitfabLangGraphIntegration as Dt, ReseedResult as E, JustificationSpan as Ei, SaveAssertionsAllParams as En, RerunGradersOptions as Er, BitfabLangGraphAgent as Et, WrapOpenAIResponsesOptions as F, ScenarioActualOutcome as Fn, VercelStreamResult as Fr, GraderLabelUpdate as Ft, TracingProcessor as G, TraceAssertionsUpdate as Gn, CapturedSpan as Gr, HumanLabelUpdate as Gt, ActiveSpanContext as H, TraceAssertion as Hn, CategorySummary as Hr, ArchiveVerdictTarget as Ht, WrapOpenRouterOptions as I, ScenarioData as In, BitfabClaudeAgentHandler as Ir, GraderVerdict as It, SpanListParams as J, TraceSearchResult as Jn, SpanLookup as Jr, LabelAction as Jt, ListedSpan as K, TraceSearchFilters as Kn, CodeChangeFile as Kr, HumanVerdictOutcome as Kt, WrappedBamlFn as L, ScenarioDataAppend as Ln, AssertionCategoriesClient as Lr, GraderVerdictOutcome as Lt, WrapAnthropicOptions as M, SavedTraceAssertion as Mn, BitfabVercelAiHandler as Mr, GraderLabel as Mt, WrapBAMLOptions as N, Scenario as Nn, VercelCallParams as Nr, GraderLabelOutcome as Nt, SeedRunOptions as O, SaveScenarioActualOutcome as On, SaveDatasetParams as Or, LangGraphIntegrationOptions as Ot, WrapJevOptions as P, ScenarioAction as Pn, VercelGenerateResult as Pr, GraderLabelSource as Pt, RivetContextLike as Q, Experiment as Qn, flushTraces as Qr, LabelStatus as Qt, getCurrentReplayBranch as R, ScenarioDataOrigin as Rn, AssertionCategory as Rr, GraderVerdictSource as Rt, DetachedTrace as S, ApprovalState as Si, AssertionRewriteStatus as Sn, GraderRerunTimeoutError as Sr, OrganizationMember as St, ReseedOptions as T, Justification as Ti, SaveAssertion as Tn, RemoveDatasetTracesResult as Tr, BitfabAgentMiddleware as Tt, BitfabOpenAITracingProcessor as U, TraceAssertionSource as Un, SaveAssertionCategoryParams as Ur, AssertionVerdict as Ut, CaptureSurface as V, ScenarioTrigger as Vn, Category as Vr, ArchiveLabelTarget as Vt, TraceResponse as W, TraceAssertionsResult as Wn, SaveCategoryParams as Wr, HumanLabelOutcome as Wt, SpansClient as X, TraceTargetOccurrence as Xn, SpanType as Xr, LabelOutcome as Xt, SpanListResult as Y, TraceTarget as Yn, SpanOccurrence as Yr, LabelConfidence as Yt, BitfabRivetIntegration as Z, TracesClient as Zn, TokenUsage as Zr, LabelSource as Zt, BitfabConfig as _, SelectiveReplayReport as _i, AssertionGenerationError as _n, GraderRerun as _r, TraceIngestionType as _t, ReplayRegistryOptions as a, NO_MOCK_OVERRIDE as ai, Verdict as an, ExperimentRunBy as ar, DbBranchOptions as at, CurrentSpan as b, ProviderDefinition as bi, AssertionLabelEvidence as bn, GraderRerunResult as br, ReplayInterrupt as bt, SeedResult as c, BitfabError as ci, VerdictOutcome as cn, ExperimentTotals as cr, ReplayError as ct, seedFromRegistry as d, DbSnapshotProvider as di, VerdictTarget as dn, AddDatasetGradersResult as dr, ReplayItemFinishProgress as dt, MockOverride as ei, LabelUpdate as en, ExperimentCodeChangeTotals as er, RivetIntegrationOptions as et, finalizers as f, DbSnapshotRef as fi, VerdictUpdate as fn, AddDatasetTracesResult as fr, ReplayItemStartProgress as ft, Bitfab as g, SelectiveReplayOptions as gi, AssertionGeneration as gn, DatasetsClient as gr, ReplayResult as gt, CommitRef as h, SelectiveReplayDecision as hi, AssertionEvidenceParameter as hn, DatasetTraceIds as hr, ReplayProgressItem as ht, ReplayRegistryContext as i, MockValue as ii, TraceVerdicts as in, ExperimentRollupResult as ir, BITFAB_PROGRESS_PREFIX as it, SpanOptions as j, SaveScenarioParams as jn, BitfabLanguageModelMiddleware as jr, GetGraderVerdictsParams as jt, SpanMethodDecorator as k, SaveScenarioData as kn, SaveDatasetResult as kr, BitfabLangGraphCallbackHandler as kt, defineReplayRegistry as l, MixedTracingError as li, VerdictSource as ln, ExperimentsClient as lr, ReplayExperiment as lt, __version__ as m, ReplayNodeIdentity as mi, ArchiveAssertionsParams as mn, DatasetGraderRef as mr, ReplayProgress as mt, ReplayRegistration as n, MockOverrideInput as ni, PassFailVerdict as nn, ExperimentPage as nr, AdaptContext as nt, ReseedRegistryResult as o, NodeMatcher as oi, VerdictAction as on, ExperimentStatus as or, DbBranchReplayError as ot, DEFAULT_SERVICE_URL as p, SUPPORTED_PROVIDERS as pi, VerdictsClient as pn, Dataset as pr, ReplayOptions as pt, SpanListField as q, TraceSearchParams as qn, HttpClient as qr, HumanVerdictUpdate as qt, ReplayRegistry as r, MockOverrideResolver as ri, TraceLabels as rn, ExperimentRollup as rr, AdaptInputsFn as rt, SeedCase as s, SpanNodeMeta as si, VerdictConfidence as sn, ExperimentTally as sr, MockStrategy as st, ReplayOptionsFactory as t, MockOverrideCtx as ti, LabelsClient as tn, ExperimentJitter as tr, ReplayBranch as tt, reseedFromRegistry as u, DbSnapshotConfig as ui, VerdictStatus as un, ListExperimentsParams as ur, ReplayItem as ut, BitfabFunction as v, AllowedEnvVars as vi, AssertionGenerationStatus as vn, GraderRerunError as vr, reportReplayProgress as vt, NodeOptions as w, Assignee as wi, GenerateAssertionsOptions as wn, RemoveDatasetGradersResult as wr, BitfabOpenAIAgentHandler as wt, CurrentTrace as x, ApprovalFields as xi, AssertionRewrite as xn, GraderRerunStatus as xr, ReplayInterruptSignal as xt, CaptureWhen as y, BamlExecutionResult as yi, AssertionGenerationTimeoutError as yn, GraderRerunProgress as yr, serializeReplayResult as yt, getCurrentSpan as z, ScenarioHistoryEntry as zn, AssertionCategorySummary as zr, GraderVerdictUpdate as zt };
@@ -3607,6 +3607,14 @@ interface WrapOpenRouterOptions<TResponse> {
3607
3607
  /** Called after each call with the chat completion, for the caller's own usage or cost reporting. */
3608
3608
  onResponse?: (response: TResponse) => void;
3609
3609
  }
3610
+ interface WrapAnthropicOptions<TResponse> {
3611
+ /** Called after each call with the Anthropic message, for the caller's own usage or cost reporting. */
3612
+ onResponse?: (response: TResponse) => void;
3613
+ }
3614
+ interface WrapOpenAIResponsesOptions<TResponse> {
3615
+ /** Called after each call with the OpenAI response, for the caller's own usage or cost reporting. */
3616
+ onResponse?: (response: TResponse) => void;
3617
+ }
3610
3618
  interface WrapBAMLOptions {
3611
3619
  /** Called after each BAML invocation with the Collector instance. */
3612
3620
  onCollector?: (collector: unknown) => void;
@@ -4350,6 +4358,79 @@ declare class Bitfab {
4350
4358
  * @returns An async function with the same signature that records each call
4351
4359
  */
4352
4360
  wrapOpenRouter<TArgs extends unknown[], TResponse>(method: (...args: TArgs) => TResponse | Promise<TResponse>, options?: WrapOpenRouterOptions<TResponse>): (...args: TArgs) => Promise<TResponse>;
4361
+ /**
4362
+ * Wrap a function that sends a request to the Anthropic Messages API to
4363
+ * record the call's prompt, model, token usage, and duration. Bitfab works
4364
+ * out the cost from the model and token counts.
4365
+ *
4366
+ * Like `wrapOpenRouter`, it opens no span of its own. It writes into the
4367
+ * span that is current when the call starts, so call it inside a traced
4368
+ * function. The wrapped function must return the message, as
4369
+ * `anthropic.messages.create` does. When its first argument is the request,
4370
+ * the request's `system` and `messages` become the span's prompt. One
4371
+ * context entry holds `provider` (`"anthropic"`), `model`, `inputTokens`
4372
+ * (every prompt token, cache reads and cache writes included),
4373
+ * `outputTokens`, `cachedInputTokens` (cache reads), and `durationMs`;
4374
+ * fields the response omits are left out.
4375
+ *
4376
+ * Beneath a `withTrace()` root, each `.messages.create(...)` call on an
4377
+ * `@anthropic-ai/sdk` client in code compiled by the build transform is
4378
+ * recorded without this wrapper as its own `llm` span, and a
4379
+ * `wrapAnthropic` around such a call records nothing more. Streaming calls
4380
+ * (`stream: true`) are not recorded.
4381
+ *
4382
+ * ```typescript
4383
+ * const anthropic = new Anthropic()
4384
+ * const send = client.wrapAnthropic(
4385
+ * anthropic.messages.create.bind(anthropic.messages),
4386
+ * )
4387
+ * const message = await send({
4388
+ * model: "claude-sonnet-4-5",
4389
+ * max_tokens: 1024,
4390
+ * messages: [{ role: "user", content: text }],
4391
+ * })
4392
+ * ```
4393
+ *
4394
+ * @param method - A named function that sends the request and returns the message
4395
+ * @param options - `onResponse` is called with each message after it is recorded
4396
+ * @returns An async function with the same signature that records each call
4397
+ */
4398
+ wrapAnthropic<TArgs extends unknown[], TResponse>(method: (...args: TArgs) => TResponse | Promise<TResponse>, options?: WrapAnthropicOptions<TResponse>): (...args: TArgs) => Promise<TResponse>;
4399
+ /**
4400
+ * Wrap a function that sends a request to the OpenAI Responses API to record
4401
+ * the call's prompt, model, token usage, and duration. Bitfab works out the
4402
+ * cost from the model and token counts.
4403
+ *
4404
+ * Like `wrapOpenRouter`, it opens no span of its own. It writes into the
4405
+ * span that is current when the call starts, so call it inside a traced
4406
+ * function. The wrapped function must return the response, as
4407
+ * `openai.responses.create` does. When its first argument is the request,
4408
+ * the request's `instructions` and `input` become the span's prompt. One
4409
+ * context entry holds `provider` (`"openai"`), `model`, `inputTokens`,
4410
+ * `outputTokens`, `cachedInputTokens`, `reasoningTokens`, `costUsd` (only
4411
+ * when the response reports `usage.cost`), and `durationMs`; fields the
4412
+ * response omits are left out.
4413
+ *
4414
+ * Beneath a `withTrace()` root, each `.responses.create(...)` call on an
4415
+ * `openai` client in code compiled by the build transform is recorded
4416
+ * without this wrapper as its own `llm` span, and a `wrapOpenAIResponses`
4417
+ * around such a call records nothing more. Streaming calls (`stream: true`)
4418
+ * are not recorded.
4419
+ *
4420
+ * ```typescript
4421
+ * const openai = new OpenAI()
4422
+ * const respond = client.wrapOpenAIResponses(
4423
+ * openai.responses.create.bind(openai.responses),
4424
+ * )
4425
+ * const response = await respond({ model: "gpt-5-mini", input: text })
4426
+ * ```
4427
+ *
4428
+ * @param method - A named function that sends the request and returns the response
4429
+ * @param options - `onResponse` is called with each response after it is recorded
4430
+ * @returns An async function with the same signature that records each call
4431
+ */
4432
+ wrapOpenAIResponses<TArgs extends unknown[], TResponse>(method: (...args: TArgs) => TResponse | Promise<TResponse>, options?: WrapOpenAIResponsesOptions<TResponse>): (...args: TArgs) => Promise<TResponse>;
4433
+ private wrapClientCall;
4353
4434
  /**
4354
4435
  * Wrap a function to automatically create a span for its inputs and outputs.
4355
4436
  *
@@ -4764,6 +4845,32 @@ declare class BitfabFunction {
4764
4845
  * @returns An async function with the same signature that records each call
4765
4846
  */
4766
4847
  wrapOpenRouter<TArgs extends unknown[], TResponse>(method: (...args: TArgs) => TResponse | Promise<TResponse>, options?: WrapOpenRouterOptions<TResponse>): (...args: TArgs) => Promise<TResponse>;
4848
+ /**
4849
+ * Wrap a function that sends a request to the Anthropic Messages API to
4850
+ * record the call's prompt, model, token usage, and duration. Delegates to
4851
+ * the parent client's wrapAnthropic method.
4852
+ *
4853
+ * Like `wrapJev`, it does not use the bound key and opens no span of its
4854
+ * own: it writes into the span that is current when the call starts.
4855
+ *
4856
+ * @param method - A named function that sends the request and returns the message
4857
+ * @param options - `onResponse` is called with each message after it is recorded
4858
+ * @returns An async function with the same signature that records each call
4859
+ */
4860
+ wrapAnthropic<TArgs extends unknown[], TResponse>(method: (...args: TArgs) => TResponse | Promise<TResponse>, options?: WrapAnthropicOptions<TResponse>): (...args: TArgs) => Promise<TResponse>;
4861
+ /**
4862
+ * Wrap a function that sends a request to the OpenAI Responses API to record
4863
+ * the call's prompt, model, token usage, and duration. Delegates to the
4864
+ * parent client's wrapOpenAIResponses method.
4865
+ *
4866
+ * Like `wrapJev`, it does not use the bound key and opens no span of its
4867
+ * own: it writes into the span that is current when the call starts.
4868
+ *
4869
+ * @param method - A named function that sends the request and returns the response
4870
+ * @param options - `onResponse` is called with each response after it is recorded
4871
+ * @returns An async function with the same signature that records each call
4872
+ */
4873
+ wrapOpenAIResponses<TArgs extends unknown[], TResponse>(method: (...args: TArgs) => TResponse | Promise<TResponse>, options?: WrapOpenAIResponsesOptions<TResponse>): (...args: TArgs) => Promise<TResponse>;
4767
4874
  }
4768
4875
  //#endregion
4769
4876
  //#region src/commitRef.d.ts
@@ -4784,7 +4891,7 @@ interface CommitRef {
4784
4891
  /**
4785
4892
  * SDK version from package.json (injected at build time)
4786
4893
  */
4787
- declare const __version__ = "0.68.4";
4894
+ declare const __version__ = "0.68.5";
4788
4895
  //#endregion
4789
4896
  //#region src/constants.d.ts
4790
4897
  /**
@@ -4926,4 +5033,4 @@ declare function seedFromRegistry(registry: ReplayRegistry, pipeline: string, ca
4926
5033
  run?: boolean;
4927
5034
  }): Promise<SeedResult>;
4928
5035
  //#endregion
4929
- export { ReplayBranch as $, ExperimentJitter as $n, MockOverrideCtx as $r, LabelsClient as $t, SpanMethodDecoratorContext as A, SavedTraceAssertion as An, BitfabVercelAiHandler as Ar, GraderLabel as At, ActiveSpanContext as B, TraceAssertion as Bn, CategorySummary as Br, ArchiveVerdictTarget as Bt, NodeMethodDecorator as C, Justification as Ci, SaveAssertion as Cn, RemoveDatasetTracesResult as Cr, BitfabAgentMiddleware as Ct, SeedCaseOptions as D, SaveScenarioData as Dn, SaveDatasetResult as Dr, BitfabLangGraphCallbackHandler as Dt, ReseedResult as E, SaveScenarioActualOutcome as En, SaveDatasetParams as Er, LangGraphIntegrationOptions as Et, WrappedBamlFn as F, ScenarioDataAppend as Fn, AssertionCategoriesClient as Fr, GraderVerdictOutcome as Ft, SpanListField as G, TraceSearchParams as Gn, HttpClient as Gr, HumanVerdictUpdate as Gt, TraceResponse as H, TraceAssertionsResult as Hn, SaveCategoryParams as Hr, HumanLabelOutcome as Ht, getCurrentReplayBranch as I, ScenarioDataOrigin as In, AssertionCategory as Ir, GraderVerdictSource as It, SpansClient as J, TraceTargetOccurrence as Jn, SpanType as Jr, LabelOutcome as Jt, SpanListParams as K, TraceSearchResult as Kn, SpanLookup as Kr, LabelAction as Kt, getCurrentSpan as L, ScenarioHistoryEntry as Ln, AssertionCategorySummary as Lr, GraderVerdictUpdate as Lt, WrapBAMLOptions as M, ScenarioAction as Mn, VercelGenerateResult as Mr, GraderLabelSource as Mt, WrapJevOptions as N, ScenarioActualOutcome as Nn, VercelStreamResult as Nr, GraderLabelUpdate as Nt, SeedRunOptions as O, SaveScenarioHistoryEntry as On, UpdateDatasetParams as Or, GetGraderLabelsParams as Ot, WrapOpenRouterOptions as P, ScenarioData as Pn, BitfabClaudeAgentHandler as Pr, GraderVerdict as Pt, RivetIntegrationOptions as Q, ExperimentCodeChangeTotals as Qn, MockOverride as Qr, LabelUpdate as Qt, getCurrentTrace as R, ScenarioSource as Rn, CategoriesClient as Rr, GradersClient as Rt, DetachedTrace as S, Assignee as Si, GenerateAssertionsOptions as Sn, RemoveDatasetGradersResult as Sr, BitfabOpenAIAgentHandler as St, ReseedOptions as T, SaveAssertionsParams as Tn, RerunGradersResult as Tr, BitfabLangGraphIntegration as Tt, TracingProcessor as U, TraceAssertionsUpdate as Un, CapturedSpan as Ur, HumanLabelUpdate as Ut, BitfabOpenAITracingProcessor as V, TraceAssertionSource as Vn, SaveAssertionCategoryParams as Vr, AssertionVerdict as Vt, ListedSpan as W, TraceSearchFilters as Wn, CodeChangeFile as Wr, HumanVerdictOutcome as Wt, RivetContextLike as X, Experiment as Xn, flushTraces as Xr, LabelStatus as Xt, BitfabRivetIntegration as Y, TracesClient as Yn, TokenUsage as Yr, LabelSource as Yt, RivetEffectType as Z, ExperimentCategoryTally as Zn, DbBranchTimings as Zr, LabelTarget as Zt, BitfabConfig as _, BamlExecutionResult as _i, AssertionGenerationTimeoutError as _n, GraderRerunProgress as _r, serializeReplayResult as _t, ReplayRegistryOptions as a, SpanNodeMeta as ai, VerdictConfidence as an, ExperimentTally as ar, MockStrategy as at, CurrentSpan as b, ApprovalState as bi, AssertionRewriteStatus as bn, GraderRerunTimeoutError as br, OrganizationMember as bt, SeedResult as c, DbSnapshotConfig as ci, VerdictStatus as cn, ListExperimentsParams as cr, ReplayItem as ct, seedFromRegistry as d, SUPPORTED_PROVIDERS as di, VerdictsClient as dn, Dataset as dr, ReplayOptions as dt, MockOverrideInput as ei, PassFailVerdict as en, ExperimentPage as er, AdaptContext as et, finalizers as f, ReplayNodeIdentity as fi, ArchiveAssertionsParams as fn, DatasetGraderRef as fr, ReplayProgress as ft, Bitfab as g, AllowedEnvVars as gi, AssertionGenerationStatus as gn, GraderRerunError as gr, reportReplayProgress as gt, CommitRef as h, SelectiveReplayReport as hi, AssertionGenerationError as hn, GraderRerun as hr, TraceIngestionType as ht, ReplayRegistryContext as i, NodeMatcher as ii, VerdictAction as in, ExperimentStatus as ir, DbBranchReplayError as it, SpanOptions as j, Scenario as jn, VercelCallParams as jr, GraderLabelOutcome as jt, SpanMethodDecorator as k, SaveScenarioParams as kn, BitfabLanguageModelMiddleware as kr, GetGraderVerdictsParams as kt, defineReplayRegistry as l, DbSnapshotProvider as li, VerdictTarget as ln, AddDatasetGradersResult as lr, ReplayItemFinishProgress as lt, __version__ as m, SelectiveReplayOptions as mi, AssertionGeneration as mn, DatasetsClient as mr, ReplayResult as mt, ReplayRegistration as n, MockValue as ni, TraceVerdicts as nn, ExperimentRollupResult as nr, BITFAB_PROGRESS_PREFIX as nt, ReseedRegistryResult as o, BitfabError as oi, VerdictOutcome as on, ExperimentTotals as or, ReplayError as ot, DEFAULT_SERVICE_URL as p, SelectiveReplayDecision as pi, AssertionEvidenceParameter as pn, DatasetTraceIds as pr, ReplayProgressItem as pt, SpanListResult as q, TraceTarget as qn, SpanOccurrence as qr, LabelConfidence as qt, ReplayRegistry as r, NO_MOCK_OVERRIDE as ri, Verdict as rn, ExperimentRunBy as rr, DbBranchOptions as rt, SeedCase as s, MixedTracingError as si, VerdictSource as sn, ExperimentsClient as sr, ReplayExperiment as st, ReplayOptionsFactory as t, MockOverrideResolver as ti, TraceLabels as tn, ExperimentRollup as tr, AdaptInputsFn as tt, reseedFromRegistry as u, DbSnapshotRef as ui, VerdictUpdate as un, AddDatasetTracesResult as ur, ReplayItemStartProgress as ut, BitfabFunction as v, ProviderDefinition as vi, AssertionLabelEvidence as vn, GraderRerunResult as vr, ReplayInterrupt as vt, NodeOptions as w, JustificationSpan as wi, SaveAssertionsAllParams as wn, RerunGradersOptions as wr, BitfabLangGraphAgent as wt, CurrentTrace as x, Approver as xi, AssertionVerdictEvidence as xn, ListDatasetsParams as xr, OrganizationMembersClient as xt, CaptureWhen as y, ApprovalFields as yi, AssertionRewrite as yn, GraderRerunStatus as yr, ReplayInterruptSignal as yt, CaptureSurface as z, ScenarioTrigger as zn, Category as zr, ArchiveLabelTarget as zt };
5036
+ export { RivetEffectType as $, ExperimentCategoryTally as $n, DbBranchTimings as $r, LabelTarget as $t, SpanMethodDecoratorContext as A, SaveScenarioHistoryEntry as An, UpdateDatasetParams as Ar, GetGraderLabelsParams as At, getCurrentTrace as B, ScenarioSource as Bn, CategoriesClient as Br, GradersClient as Bt, NodeMethodDecorator as C, Approver as Ci, AssertionVerdictEvidence as Cn, ListDatasetsParams as Cr, OrganizationMembersClient as Ct, SeedCaseOptions as D, SaveAssertionsParams as Dn, RerunGradersResult as Dr, BitfabLangGraphIntegration as Dt, ReseedResult as E, JustificationSpan as Ei, SaveAssertionsAllParams as En, RerunGradersOptions as Er, BitfabLangGraphAgent as Et, WrapOpenAIResponsesOptions as F, ScenarioActualOutcome as Fn, VercelStreamResult as Fr, GraderLabelUpdate as Ft, TracingProcessor as G, TraceAssertionsUpdate as Gn, CapturedSpan as Gr, HumanLabelUpdate as Gt, ActiveSpanContext as H, TraceAssertion as Hn, CategorySummary as Hr, ArchiveVerdictTarget as Ht, WrapOpenRouterOptions as I, ScenarioData as In, BitfabClaudeAgentHandler as Ir, GraderVerdict as It, SpanListParams as J, TraceSearchResult as Jn, SpanLookup as Jr, LabelAction as Jt, ListedSpan as K, TraceSearchFilters as Kn, CodeChangeFile as Kr, HumanVerdictOutcome as Kt, WrappedBamlFn as L, ScenarioDataAppend as Ln, AssertionCategoriesClient as Lr, GraderVerdictOutcome as Lt, WrapAnthropicOptions as M, SavedTraceAssertion as Mn, BitfabVercelAiHandler as Mr, GraderLabel as Mt, WrapBAMLOptions as N, Scenario as Nn, VercelCallParams as Nr, GraderLabelOutcome as Nt, SeedRunOptions as O, SaveScenarioActualOutcome as On, SaveDatasetParams as Or, LangGraphIntegrationOptions as Ot, WrapJevOptions as P, ScenarioAction as Pn, VercelGenerateResult as Pr, GraderLabelSource as Pt, RivetContextLike as Q, Experiment as Qn, flushTraces as Qr, LabelStatus as Qt, getCurrentReplayBranch as R, ScenarioDataOrigin as Rn, AssertionCategory as Rr, GraderVerdictSource as Rt, DetachedTrace as S, ApprovalState as Si, AssertionRewriteStatus as Sn, GraderRerunTimeoutError as Sr, OrganizationMember as St, ReseedOptions as T, Justification as Ti, SaveAssertion as Tn, RemoveDatasetTracesResult as Tr, BitfabAgentMiddleware as Tt, BitfabOpenAITracingProcessor as U, TraceAssertionSource as Un, SaveAssertionCategoryParams as Ur, AssertionVerdict as Ut, CaptureSurface as V, ScenarioTrigger as Vn, Category as Vr, ArchiveLabelTarget as Vt, TraceResponse as W, TraceAssertionsResult as Wn, SaveCategoryParams as Wr, HumanLabelOutcome as Wt, SpansClient as X, TraceTargetOccurrence as Xn, SpanType as Xr, LabelOutcome as Xt, SpanListResult as Y, TraceTarget as Yn, SpanOccurrence as Yr, LabelConfidence as Yt, BitfabRivetIntegration as Z, TracesClient as Zn, TokenUsage as Zr, LabelSource as Zt, BitfabConfig as _, SelectiveReplayReport as _i, AssertionGenerationError as _n, GraderRerun as _r, TraceIngestionType as _t, ReplayRegistryOptions as a, NO_MOCK_OVERRIDE as ai, Verdict as an, ExperimentRunBy as ar, DbBranchOptions as at, CurrentSpan as b, ProviderDefinition as bi, AssertionLabelEvidence as bn, GraderRerunResult as br, ReplayInterrupt as bt, SeedResult as c, BitfabError as ci, VerdictOutcome as cn, ExperimentTotals as cr, ReplayError as ct, seedFromRegistry as d, DbSnapshotProvider as di, VerdictTarget as dn, AddDatasetGradersResult as dr, ReplayItemFinishProgress as dt, MockOverride as ei, LabelUpdate as en, ExperimentCodeChangeTotals as er, RivetIntegrationOptions as et, finalizers as f, DbSnapshotRef as fi, VerdictUpdate as fn, AddDatasetTracesResult as fr, ReplayItemStartProgress as ft, Bitfab as g, SelectiveReplayOptions as gi, AssertionGeneration as gn, DatasetsClient as gr, ReplayResult as gt, CommitRef as h, SelectiveReplayDecision as hi, AssertionEvidenceParameter as hn, DatasetTraceIds as hr, ReplayProgressItem as ht, ReplayRegistryContext as i, MockValue as ii, TraceVerdicts as in, ExperimentRollupResult as ir, BITFAB_PROGRESS_PREFIX as it, SpanOptions as j, SaveScenarioParams as jn, BitfabLanguageModelMiddleware as jr, GetGraderVerdictsParams as jt, SpanMethodDecorator as k, SaveScenarioData as kn, SaveDatasetResult as kr, BitfabLangGraphCallbackHandler as kt, defineReplayRegistry as l, MixedTracingError as li, VerdictSource as ln, ExperimentsClient as lr, ReplayExperiment as lt, __version__ as m, ReplayNodeIdentity as mi, ArchiveAssertionsParams as mn, DatasetGraderRef as mr, ReplayProgress as mt, ReplayRegistration as n, MockOverrideInput as ni, PassFailVerdict as nn, ExperimentPage as nr, AdaptContext as nt, ReseedRegistryResult as o, NodeMatcher as oi, VerdictAction as on, ExperimentStatus as or, DbBranchReplayError as ot, DEFAULT_SERVICE_URL as p, SUPPORTED_PROVIDERS as pi, VerdictsClient as pn, Dataset as pr, ReplayOptions as pt, SpanListField as q, TraceSearchParams as qn, HttpClient as qr, HumanVerdictUpdate as qt, ReplayRegistry as r, MockOverrideResolver as ri, TraceLabels as rn, ExperimentRollup as rr, AdaptInputsFn as rt, SeedCase as s, SpanNodeMeta as si, VerdictConfidence as sn, ExperimentTally as sr, MockStrategy as st, ReplayOptionsFactory as t, MockOverrideCtx as ti, LabelsClient as tn, ExperimentJitter as tr, ReplayBranch as tt, reseedFromRegistry as u, DbSnapshotConfig as ui, VerdictStatus as un, ListExperimentsParams as ur, ReplayItem as ut, BitfabFunction as v, AllowedEnvVars as vi, AssertionGenerationStatus as vn, GraderRerunError as vr, reportReplayProgress as vt, NodeOptions as w, Assignee as wi, GenerateAssertionsOptions as wn, RemoveDatasetGradersResult as wr, BitfabOpenAIAgentHandler as wt, CurrentTrace as x, ApprovalFields as xi, AssertionRewrite as xn, GraderRerunStatus as xr, ReplayInterruptSignal as xt, CaptureWhen as y, BamlExecutionResult as yi, AssertionGenerationTimeoutError as yn, GraderRerunProgress as yr, serializeReplayResult as yt, getCurrentSpan as z, ScenarioHistoryEntry as zn, AssertionCategorySummary as zr, GraderVerdictUpdate 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-BG2_8Fpf.cjs");
15
- const require_http = require("./http-C-HrwUb8.cjs");
14
+ const require_src = require("./src-CxELko3f.cjs");
15
+ const require_http = require("./http-DFqFW_hG.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 ReplayBranch, $n as ExperimentJitter, $r as MockOverrideCtx, $t as LabelsClient, A as SpanMethodDecoratorContext, An as SavedTraceAssertion, Ar as BitfabVercelAiHandler, At as GraderLabel, B as ActiveSpanContext, Bn as TraceAssertion, Br as CategorySummary, Bt as ArchiveVerdictTarget, C as NodeMethodDecorator, Ci as Justification, Cn as SaveAssertion, Cr as RemoveDatasetTracesResult, Ct as BitfabAgentMiddleware, D as SeedCaseOptions, Dn as SaveScenarioData, Dr as SaveDatasetResult, Dt as BitfabLangGraphCallbackHandler, E as ReseedResult, En as SaveScenarioActualOutcome, Er as SaveDatasetParams, Et as LangGraphIntegrationOptions, F as WrappedBamlFn, Fn as ScenarioDataAppend, Fr as AssertionCategoriesClient, Ft as GraderVerdictOutcome, G as SpanListField, Gn as TraceSearchParams, Gr as HttpClient, Gt as HumanVerdictUpdate, H as TraceResponse, Hn as TraceAssertionsResult, Hr as SaveCategoryParams, Ht as HumanLabelOutcome, I as getCurrentReplayBranch, In as ScenarioDataOrigin, Ir as AssertionCategory, It as GraderVerdictSource, J as SpansClient, Jn as TraceTargetOccurrence, Jr as SpanType, Jt as LabelOutcome, K as SpanListParams, Kn as TraceSearchResult, Kr as SpanLookup, Kt as LabelAction, L as getCurrentSpan, Ln as ScenarioHistoryEntry, Lr as AssertionCategorySummary, Lt as GraderVerdictUpdate, M as WrapBAMLOptions, Mn as ScenarioAction, Mr as VercelGenerateResult, Mt as GraderLabelSource, N as WrapJevOptions, Nn as ScenarioActualOutcome, Nr as VercelStreamResult, Nt as GraderLabelUpdate, O as SeedRunOptions, On as SaveScenarioHistoryEntry, Or as UpdateDatasetParams, Ot as GetGraderLabelsParams, P as WrapOpenRouterOptions, Pn as ScenarioData, Pr as BitfabClaudeAgentHandler, Pt as GraderVerdict, Q as RivetIntegrationOptions, Qn as ExperimentCodeChangeTotals, Qr as MockOverride, Qt as LabelUpdate, R as getCurrentTrace, Rn as ScenarioSource, Rr as CategoriesClient, Rt as GradersClient, S as DetachedTrace, Si as Assignee, Sn as GenerateAssertionsOptions, Sr as RemoveDatasetGradersResult, St as BitfabOpenAIAgentHandler, T as ReseedOptions, Tn as SaveAssertionsParams, Tr as RerunGradersResult, Tt as BitfabLangGraphIntegration, U as TracingProcessor, Un as TraceAssertionsUpdate, Ur as CapturedSpan, Ut as HumanLabelUpdate, V as BitfabOpenAITracingProcessor, Vn as TraceAssertionSource, Vr as SaveAssertionCategoryParams, Vt as AssertionVerdict, W as ListedSpan, Wn as TraceSearchFilters, Wr as CodeChangeFile, Wt as HumanVerdictOutcome, X as RivetContextLike, Xn as Experiment, Xr as flushTraces, Xt as LabelStatus, Y as BitfabRivetIntegration, Yn as TracesClient, Yr as TokenUsage, Yt as LabelSource, Z as RivetEffectType, Zn as ExperimentCategoryTally, Zr as DbBranchTimings, Zt as LabelTarget, _ as BitfabConfig, _i as BamlExecutionResult, _n as AssertionGenerationTimeoutError, _r as GraderRerunProgress, _t as serializeReplayResult, a as ReplayRegistryOptions, ai as SpanNodeMeta, an as VerdictConfidence, ar as ExperimentTally, at as MockStrategy, b as CurrentSpan, bi as ApprovalState, bn as AssertionRewriteStatus, br as GraderRerunTimeoutError, bt as OrganizationMember, c as SeedResult, ci as DbSnapshotConfig, cn as VerdictStatus, cr as ListExperimentsParams, ct as ReplayItem, d as seedFromRegistry, di as SUPPORTED_PROVIDERS, dn as VerdictsClient, dr as Dataset, dt as ReplayOptions, ei as MockOverrideInput, en as PassFailVerdict, er as ExperimentPage, et as AdaptContext, f as finalizers, fi as ReplayNodeIdentity, fn as ArchiveAssertionsParams, fr as DatasetGraderRef, ft as ReplayProgress, g as Bitfab, gi as AllowedEnvVars, gn as AssertionGenerationStatus, gr as GraderRerunError, gt as reportReplayProgress, h as CommitRef, hi as SelectiveReplayReport, hn as AssertionGenerationError, hr as GraderRerun, ht as TraceIngestionType, i as ReplayRegistryContext, ii as NodeMatcher, in as VerdictAction, ir as ExperimentStatus, it as DbBranchReplayError, j as SpanOptions, jn as Scenario, jr as VercelCallParams, jt as GraderLabelOutcome, k as SpanMethodDecorator, kn as SaveScenarioParams, kr as BitfabLanguageModelMiddleware, kt as GetGraderVerdictsParams, l as defineReplayRegistry, li as DbSnapshotProvider, ln as VerdictTarget, lr as AddDatasetGradersResult, lt as ReplayItemFinishProgress, m as __version__, mi as SelectiveReplayOptions, mn as AssertionGeneration, mr as DatasetsClient, mt as ReplayResult, n as ReplayRegistration, ni as MockValue, nn as TraceVerdicts, nr as ExperimentRollupResult, nt as BITFAB_PROGRESS_PREFIX, o as ReseedRegistryResult, oi as BitfabError, on as VerdictOutcome, or as ExperimentTotals, ot as ReplayError, p as DEFAULT_SERVICE_URL, pi as SelectiveReplayDecision, pn as AssertionEvidenceParameter, pr as DatasetTraceIds, pt as ReplayProgressItem, q as SpanListResult, qn as TraceTarget, qr as SpanOccurrence, qt as LabelConfidence, r as ReplayRegistry, ri as NO_MOCK_OVERRIDE, rn as Verdict, rr as ExperimentRunBy, rt as DbBranchOptions, s as SeedCase, si as MixedTracingError, sn as VerdictSource, sr as ExperimentsClient, st as ReplayExperiment, t as ReplayOptionsFactory, ti as MockOverrideResolver, tn as TraceLabels, tr as ExperimentRollup, tt as AdaptInputsFn, u as reseedFromRegistry, ui as DbSnapshotRef, un as VerdictUpdate, ur as AddDatasetTracesResult, ut as ReplayItemStartProgress, v as BitfabFunction, vi as ProviderDefinition, vn as AssertionLabelEvidence, vr as GraderRerunResult, vt as ReplayInterrupt, w as NodeOptions, wi as JustificationSpan, wn as SaveAssertionsAllParams, wr as RerunGradersOptions, wt as BitfabLangGraphAgent, x as CurrentTrace, xi as Approver, xn as AssertionVerdictEvidence, xr as ListDatasetsParams, xt as OrganizationMembersClient, y as CaptureWhen, yi as ApprovalFields, yn as AssertionRewrite, yr as GraderRerunStatus, yt as ReplayInterruptSignal, z as CaptureSurface, zn as ScenarioTrigger, zr as Category, zt as ArchiveLabelTarget } from "./index-BcGxu85i.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, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, 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 };
1
+ import { $ as RivetEffectType, $n as ExperimentCategoryTally, $r as DbBranchTimings, $t as LabelTarget, A as SpanMethodDecoratorContext, An as SaveScenarioHistoryEntry, Ar as UpdateDatasetParams, At as GetGraderLabelsParams, B as getCurrentTrace, Bn as ScenarioSource, Br as CategoriesClient, Bt as GradersClient, C as NodeMethodDecorator, Ci as Approver, Cn as AssertionVerdictEvidence, Cr as ListDatasetsParams, Ct as OrganizationMembersClient, D as SeedCaseOptions, Dn as SaveAssertionsParams, Dr as RerunGradersResult, Dt as BitfabLangGraphIntegration, E as ReseedResult, Ei as JustificationSpan, En as SaveAssertionsAllParams, Er as RerunGradersOptions, Et as BitfabLangGraphAgent, F as WrapOpenAIResponsesOptions, Fn as ScenarioActualOutcome, Fr as VercelStreamResult, Ft as GraderLabelUpdate, G as TracingProcessor, Gn as TraceAssertionsUpdate, Gr as CapturedSpan, Gt as HumanLabelUpdate, H as ActiveSpanContext, Hn as TraceAssertion, Hr as CategorySummary, Ht as ArchiveVerdictTarget, I as WrapOpenRouterOptions, In as ScenarioData, Ir as BitfabClaudeAgentHandler, It as GraderVerdict, J as SpanListParams, Jn as TraceSearchResult, Jr as SpanLookup, Jt as LabelAction, K as ListedSpan, Kn as TraceSearchFilters, Kr as CodeChangeFile, Kt as HumanVerdictOutcome, L as WrappedBamlFn, Ln as ScenarioDataAppend, Lr as AssertionCategoriesClient, Lt as GraderVerdictOutcome, M as WrapAnthropicOptions, Mn as SavedTraceAssertion, Mr as BitfabVercelAiHandler, Mt as GraderLabel, N as WrapBAMLOptions, Nn as Scenario, Nr as VercelCallParams, Nt as GraderLabelOutcome, O as SeedRunOptions, On as SaveScenarioActualOutcome, Or as SaveDatasetParams, Ot as LangGraphIntegrationOptions, P as WrapJevOptions, Pn as ScenarioAction, Pr as VercelGenerateResult, Pt as GraderLabelSource, Q as RivetContextLike, Qn as Experiment, Qr as flushTraces, Qt as LabelStatus, R as getCurrentReplayBranch, Rn as ScenarioDataOrigin, Rr as AssertionCategory, Rt as GraderVerdictSource, S as DetachedTrace, Si as ApprovalState, Sn as AssertionRewriteStatus, Sr as GraderRerunTimeoutError, St as OrganizationMember, T as ReseedOptions, Ti as Justification, Tn as SaveAssertion, Tr as RemoveDatasetTracesResult, Tt as BitfabAgentMiddleware, U as BitfabOpenAITracingProcessor, Un as TraceAssertionSource, Ur as SaveAssertionCategoryParams, Ut as AssertionVerdict, V as CaptureSurface, Vn as ScenarioTrigger, Vr as Category, Vt as ArchiveLabelTarget, W as TraceResponse, Wn as TraceAssertionsResult, Wr as SaveCategoryParams, Wt as HumanLabelOutcome, X as SpansClient, Xn as TraceTargetOccurrence, Xr as SpanType, Xt as LabelOutcome, Y as SpanListResult, Yn as TraceTarget, Yr as SpanOccurrence, Yt as LabelConfidence, Z as BitfabRivetIntegration, Zn as TracesClient, Zr as TokenUsage, Zt as LabelSource, _ as BitfabConfig, _i as SelectiveReplayReport, _n as AssertionGenerationError, _r as GraderRerun, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as NO_MOCK_OVERRIDE, an as Verdict, ar as ExperimentRunBy, at as DbBranchOptions, b as CurrentSpan, bi as ProviderDefinition, bn as AssertionLabelEvidence, br as GraderRerunResult, bt as ReplayInterrupt, c as SeedResult, ci as BitfabError, cn as VerdictOutcome, cr as ExperimentTotals, ct as ReplayError, d as seedFromRegistry, di as DbSnapshotProvider, dn as VerdictTarget, dr as AddDatasetGradersResult, dt as ReplayItemFinishProgress, ei as MockOverride, en as LabelUpdate, er as ExperimentCodeChangeTotals, et as RivetIntegrationOptions, f as finalizers, fi as DbSnapshotRef, fn as VerdictUpdate, fr as AddDatasetTracesResult, ft as ReplayItemStartProgress, g as Bitfab, gi as SelectiveReplayOptions, gn as AssertionGeneration, gr as DatasetsClient, gt as ReplayResult, h as CommitRef, hi as SelectiveReplayDecision, hn as AssertionEvidenceParameter, hr as DatasetTraceIds, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as MockValue, in as TraceVerdicts, ir as ExperimentRollupResult, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, jn as SaveScenarioParams, jr as BitfabLanguageModelMiddleware, jt as GetGraderVerdictsParams, k as SpanMethodDecorator, kn as SaveScenarioData, kr as SaveDatasetResult, kt as BitfabLangGraphCallbackHandler, l as defineReplayRegistry, li as MixedTracingError, ln as VerdictSource, lr as ExperimentsClient, lt as ReplayExperiment, m as __version__, mi as ReplayNodeIdentity, mn as ArchiveAssertionsParams, mr as DatasetGraderRef, mt as ReplayProgress, n as ReplayRegistration, ni as MockOverrideInput, nn as PassFailVerdict, nr as ExperimentPage, nt as AdaptContext, o as ReseedRegistryResult, oi as NodeMatcher, on as VerdictAction, or as ExperimentStatus, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as SUPPORTED_PROVIDERS, pn as VerdictsClient, pr as Dataset, pt as ReplayOptions, q as SpanListField, qn as TraceSearchParams, qr as HttpClient, qt as HumanVerdictUpdate, r as ReplayRegistry, ri as MockOverrideResolver, rn as TraceLabels, rr as ExperimentRollup, rt as AdaptInputsFn, s as SeedCase, si as SpanNodeMeta, sn as VerdictConfidence, sr as ExperimentTally, st as MockStrategy, t as ReplayOptionsFactory, ti as MockOverrideCtx, tn as LabelsClient, tr as ExperimentJitter, tt as ReplayBranch, u as reseedFromRegistry, ui as DbSnapshotConfig, un as VerdictStatus, ur as ListExperimentsParams, ut as ReplayItem, v as BitfabFunction, vi as AllowedEnvVars, vn as AssertionGenerationStatus, vr as GraderRerunError, vt as reportReplayProgress, w as NodeOptions, wi as Assignee, wn as GenerateAssertionsOptions, wr as RemoveDatasetGradersResult, wt as BitfabOpenAIAgentHandler, x as CurrentTrace, xi as ApprovalFields, xn as AssertionRewrite, xr as GraderRerunStatus, xt as ReplayInterruptSignal, y as CaptureWhen, yi as BamlExecutionResult, yn as AssertionGenerationTimeoutError, yr as GraderRerunProgress, yt as serializeReplayResult, z as getCurrentSpan, zn as ScenarioHistoryEntry, zr as AssertionCategorySummary, zt as GraderVerdictUpdate } from "./index-DMJ6qrtL.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, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, 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 WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as ReplayBranch, $n as ExperimentJitter, $r as MockOverrideCtx, $t as LabelsClient, A as SpanMethodDecoratorContext, An as SavedTraceAssertion, Ar as BitfabVercelAiHandler, At as GraderLabel, B as ActiveSpanContext, Bn as TraceAssertion, Br as CategorySummary, Bt as ArchiveVerdictTarget, C as NodeMethodDecorator, Ci as Justification, Cn as SaveAssertion, Cr as RemoveDatasetTracesResult, Ct as BitfabAgentMiddleware, D as SeedCaseOptions, Dn as SaveScenarioData, Dr as SaveDatasetResult, Dt as BitfabLangGraphCallbackHandler, E as ReseedResult, En as SaveScenarioActualOutcome, Er as SaveDatasetParams, Et as LangGraphIntegrationOptions, F as WrappedBamlFn, Fn as ScenarioDataAppend, Fr as AssertionCategoriesClient, Ft as GraderVerdictOutcome, G as SpanListField, Gn as TraceSearchParams, Gr as HttpClient, Gt as HumanVerdictUpdate, H as TraceResponse, Hn as TraceAssertionsResult, Hr as SaveCategoryParams, Ht as HumanLabelOutcome, I as getCurrentReplayBranch, In as ScenarioDataOrigin, Ir as AssertionCategory, It as GraderVerdictSource, J as SpansClient, Jn as TraceTargetOccurrence, Jr as SpanType, Jt as LabelOutcome, K as SpanListParams, Kn as TraceSearchResult, Kr as SpanLookup, Kt as LabelAction, L as getCurrentSpan, Ln as ScenarioHistoryEntry, Lr as AssertionCategorySummary, Lt as GraderVerdictUpdate, M as WrapBAMLOptions, Mn as ScenarioAction, Mr as VercelGenerateResult, Mt as GraderLabelSource, N as WrapJevOptions, Nn as ScenarioActualOutcome, Nr as VercelStreamResult, Nt as GraderLabelUpdate, O as SeedRunOptions, On as SaveScenarioHistoryEntry, Or as UpdateDatasetParams, Ot as GetGraderLabelsParams, P as WrapOpenRouterOptions, Pn as ScenarioData, Pr as BitfabClaudeAgentHandler, Pt as GraderVerdict, Q as RivetIntegrationOptions, Qn as ExperimentCodeChangeTotals, Qr as MockOverride, Qt as LabelUpdate, R as getCurrentTrace, Rn as ScenarioSource, Rr as CategoriesClient, Rt as GradersClient, S as DetachedTrace, Si as Assignee, Sn as GenerateAssertionsOptions, Sr as RemoveDatasetGradersResult, St as BitfabOpenAIAgentHandler, T as ReseedOptions, Tn as SaveAssertionsParams, Tr as RerunGradersResult, Tt as BitfabLangGraphIntegration, U as TracingProcessor, Un as TraceAssertionsUpdate, Ur as CapturedSpan, Ut as HumanLabelUpdate, V as BitfabOpenAITracingProcessor, Vn as TraceAssertionSource, Vr as SaveAssertionCategoryParams, Vt as AssertionVerdict, W as ListedSpan, Wn as TraceSearchFilters, Wr as CodeChangeFile, Wt as HumanVerdictOutcome, X as RivetContextLike, Xn as Experiment, Xr as flushTraces, Xt as LabelStatus, Y as BitfabRivetIntegration, Yn as TracesClient, Yr as TokenUsage, Yt as LabelSource, Z as RivetEffectType, Zn as ExperimentCategoryTally, Zr as DbBranchTimings, Zt as LabelTarget, _ as BitfabConfig, _i as BamlExecutionResult, _n as AssertionGenerationTimeoutError, _r as GraderRerunProgress, _t as serializeReplayResult, a as ReplayRegistryOptions, ai as SpanNodeMeta, an as VerdictConfidence, ar as ExperimentTally, at as MockStrategy, b as CurrentSpan, bi as ApprovalState, bn as AssertionRewriteStatus, br as GraderRerunTimeoutError, bt as OrganizationMember, c as SeedResult, ci as DbSnapshotConfig, cn as VerdictStatus, cr as ListExperimentsParams, ct as ReplayItem, d as seedFromRegistry, di as SUPPORTED_PROVIDERS, dn as VerdictsClient, dr as Dataset, dt as ReplayOptions, ei as MockOverrideInput, en as PassFailVerdict, er as ExperimentPage, et as AdaptContext, f as finalizers, fi as ReplayNodeIdentity, fn as ArchiveAssertionsParams, fr as DatasetGraderRef, ft as ReplayProgress, g as Bitfab, gi as AllowedEnvVars, gn as AssertionGenerationStatus, gr as GraderRerunError, gt as reportReplayProgress, h as CommitRef, hi as SelectiveReplayReport, hn as AssertionGenerationError, hr as GraderRerun, ht as TraceIngestionType, i as ReplayRegistryContext, ii as NodeMatcher, in as VerdictAction, ir as ExperimentStatus, it as DbBranchReplayError, j as SpanOptions, jn as Scenario, jr as VercelCallParams, jt as GraderLabelOutcome, k as SpanMethodDecorator, kn as SaveScenarioParams, kr as BitfabLanguageModelMiddleware, kt as GetGraderVerdictsParams, l as defineReplayRegistry, li as DbSnapshotProvider, ln as VerdictTarget, lr as AddDatasetGradersResult, lt as ReplayItemFinishProgress, m as __version__, mi as SelectiveReplayOptions, mn as AssertionGeneration, mr as DatasetsClient, mt as ReplayResult, n as ReplayRegistration, ni as MockValue, nn as TraceVerdicts, nr as ExperimentRollupResult, nt as BITFAB_PROGRESS_PREFIX, o as ReseedRegistryResult, oi as BitfabError, on as VerdictOutcome, or as ExperimentTotals, ot as ReplayError, p as DEFAULT_SERVICE_URL, pi as SelectiveReplayDecision, pn as AssertionEvidenceParameter, pr as DatasetTraceIds, pt as ReplayProgressItem, q as SpanListResult, qn as TraceTarget, qr as SpanOccurrence, qt as LabelConfidence, r as ReplayRegistry, ri as NO_MOCK_OVERRIDE, rn as Verdict, rr as ExperimentRunBy, rt as DbBranchOptions, s as SeedCase, si as MixedTracingError, sn as VerdictSource, sr as ExperimentsClient, st as ReplayExperiment, t as ReplayOptionsFactory, ti as MockOverrideResolver, tn as TraceLabels, tr as ExperimentRollup, tt as AdaptInputsFn, u as reseedFromRegistry, ui as DbSnapshotRef, un as VerdictUpdate, ur as AddDatasetTracesResult, ut as ReplayItemStartProgress, v as BitfabFunction, vi as ProviderDefinition, vn as AssertionLabelEvidence, vr as GraderRerunResult, vt as ReplayInterrupt, w as NodeOptions, wi as JustificationSpan, wn as SaveAssertionsAllParams, wr as RerunGradersOptions, wt as BitfabLangGraphAgent, x as CurrentTrace, xi as Approver, xn as AssertionVerdictEvidence, xr as ListDatasetsParams, xt as OrganizationMembersClient, y as CaptureWhen, yi as ApprovalFields, yn as AssertionRewrite, yr as GraderRerunStatus, yt as ReplayInterruptSignal, z as CaptureSurface, zn as ScenarioTrigger, zr as Category, zt as ArchiveLabelTarget } from "./index-BcGxu85i.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, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, 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 };
1
+ import { $ as RivetEffectType, $n as ExperimentCategoryTally, $r as DbBranchTimings, $t as LabelTarget, A as SpanMethodDecoratorContext, An as SaveScenarioHistoryEntry, Ar as UpdateDatasetParams, At as GetGraderLabelsParams, B as getCurrentTrace, Bn as ScenarioSource, Br as CategoriesClient, Bt as GradersClient, C as NodeMethodDecorator, Ci as Approver, Cn as AssertionVerdictEvidence, Cr as ListDatasetsParams, Ct as OrganizationMembersClient, D as SeedCaseOptions, Dn as SaveAssertionsParams, Dr as RerunGradersResult, Dt as BitfabLangGraphIntegration, E as ReseedResult, Ei as JustificationSpan, En as SaveAssertionsAllParams, Er as RerunGradersOptions, Et as BitfabLangGraphAgent, F as WrapOpenAIResponsesOptions, Fn as ScenarioActualOutcome, Fr as VercelStreamResult, Ft as GraderLabelUpdate, G as TracingProcessor, Gn as TraceAssertionsUpdate, Gr as CapturedSpan, Gt as HumanLabelUpdate, H as ActiveSpanContext, Hn as TraceAssertion, Hr as CategorySummary, Ht as ArchiveVerdictTarget, I as WrapOpenRouterOptions, In as ScenarioData, Ir as BitfabClaudeAgentHandler, It as GraderVerdict, J as SpanListParams, Jn as TraceSearchResult, Jr as SpanLookup, Jt as LabelAction, K as ListedSpan, Kn as TraceSearchFilters, Kr as CodeChangeFile, Kt as HumanVerdictOutcome, L as WrappedBamlFn, Ln as ScenarioDataAppend, Lr as AssertionCategoriesClient, Lt as GraderVerdictOutcome, M as WrapAnthropicOptions, Mn as SavedTraceAssertion, Mr as BitfabVercelAiHandler, Mt as GraderLabel, N as WrapBAMLOptions, Nn as Scenario, Nr as VercelCallParams, Nt as GraderLabelOutcome, O as SeedRunOptions, On as SaveScenarioActualOutcome, Or as SaveDatasetParams, Ot as LangGraphIntegrationOptions, P as WrapJevOptions, Pn as ScenarioAction, Pr as VercelGenerateResult, Pt as GraderLabelSource, Q as RivetContextLike, Qn as Experiment, Qr as flushTraces, Qt as LabelStatus, R as getCurrentReplayBranch, Rn as ScenarioDataOrigin, Rr as AssertionCategory, Rt as GraderVerdictSource, S as DetachedTrace, Si as ApprovalState, Sn as AssertionRewriteStatus, Sr as GraderRerunTimeoutError, St as OrganizationMember, T as ReseedOptions, Ti as Justification, Tn as SaveAssertion, Tr as RemoveDatasetTracesResult, Tt as BitfabAgentMiddleware, U as BitfabOpenAITracingProcessor, Un as TraceAssertionSource, Ur as SaveAssertionCategoryParams, Ut as AssertionVerdict, V as CaptureSurface, Vn as ScenarioTrigger, Vr as Category, Vt as ArchiveLabelTarget, W as TraceResponse, Wn as TraceAssertionsResult, Wr as SaveCategoryParams, Wt as HumanLabelOutcome, X as SpansClient, Xn as TraceTargetOccurrence, Xr as SpanType, Xt as LabelOutcome, Y as SpanListResult, Yn as TraceTarget, Yr as SpanOccurrence, Yt as LabelConfidence, Z as BitfabRivetIntegration, Zn as TracesClient, Zr as TokenUsage, Zt as LabelSource, _ as BitfabConfig, _i as SelectiveReplayReport, _n as AssertionGenerationError, _r as GraderRerun, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as NO_MOCK_OVERRIDE, an as Verdict, ar as ExperimentRunBy, at as DbBranchOptions, b as CurrentSpan, bi as ProviderDefinition, bn as AssertionLabelEvidence, br as GraderRerunResult, bt as ReplayInterrupt, c as SeedResult, ci as BitfabError, cn as VerdictOutcome, cr as ExperimentTotals, ct as ReplayError, d as seedFromRegistry, di as DbSnapshotProvider, dn as VerdictTarget, dr as AddDatasetGradersResult, dt as ReplayItemFinishProgress, ei as MockOverride, en as LabelUpdate, er as ExperimentCodeChangeTotals, et as RivetIntegrationOptions, f as finalizers, fi as DbSnapshotRef, fn as VerdictUpdate, fr as AddDatasetTracesResult, ft as ReplayItemStartProgress, g as Bitfab, gi as SelectiveReplayOptions, gn as AssertionGeneration, gr as DatasetsClient, gt as ReplayResult, h as CommitRef, hi as SelectiveReplayDecision, hn as AssertionEvidenceParameter, hr as DatasetTraceIds, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as MockValue, in as TraceVerdicts, ir as ExperimentRollupResult, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, jn as SaveScenarioParams, jr as BitfabLanguageModelMiddleware, jt as GetGraderVerdictsParams, k as SpanMethodDecorator, kn as SaveScenarioData, kr as SaveDatasetResult, kt as BitfabLangGraphCallbackHandler, l as defineReplayRegistry, li as MixedTracingError, ln as VerdictSource, lr as ExperimentsClient, lt as ReplayExperiment, m as __version__, mi as ReplayNodeIdentity, mn as ArchiveAssertionsParams, mr as DatasetGraderRef, mt as ReplayProgress, n as ReplayRegistration, ni as MockOverrideInput, nn as PassFailVerdict, nr as ExperimentPage, nt as AdaptContext, o as ReseedRegistryResult, oi as NodeMatcher, on as VerdictAction, or as ExperimentStatus, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as SUPPORTED_PROVIDERS, pn as VerdictsClient, pr as Dataset, pt as ReplayOptions, q as SpanListField, qn as TraceSearchParams, qr as HttpClient, qt as HumanVerdictUpdate, r as ReplayRegistry, ri as MockOverrideResolver, rn as TraceLabels, rr as ExperimentRollup, rt as AdaptInputsFn, s as SeedCase, si as SpanNodeMeta, sn as VerdictConfidence, sr as ExperimentTally, st as MockStrategy, t as ReplayOptionsFactory, ti as MockOverrideCtx, tn as LabelsClient, tr as ExperimentJitter, tt as ReplayBranch, u as reseedFromRegistry, ui as DbSnapshotConfig, un as VerdictStatus, ur as ListExperimentsParams, ut as ReplayItem, v as BitfabFunction, vi as AllowedEnvVars, vn as AssertionGenerationStatus, vr as GraderRerunError, vt as reportReplayProgress, w as NodeOptions, wi as Assignee, wn as GenerateAssertionsOptions, wr as RemoveDatasetGradersResult, wt as BitfabOpenAIAgentHandler, x as CurrentTrace, xi as ApprovalFields, xn as AssertionRewrite, xr as GraderRerunStatus, xt as ReplayInterruptSignal, y as CaptureWhen, yi as BamlExecutionResult, yn as AssertionGenerationTimeoutError, yr as GraderRerunProgress, yt as serializeReplayResult, z as getCurrentSpan, zn as ScenarioHistoryEntry, zr as AssertionCategorySummary, zt as GraderVerdictUpdate } from "./index-DMJ6qrtL.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, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, 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 WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/index.js CHANGED
@@ -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-Cmfs_7Ib.js";
11
- import { S as MixedTracingError, i as flushTraces, t as HttpClient, w as __version__, x as BitfabError } from "./http-BGY4ULH5.js";
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-DvVk1aLi.js";
11
+ import { S as MixedTracingError, i as flushTraces, t as HttpClient, w as __version__, x as BitfabError } from "./http-CDqaLdge.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-BG2_8Fpf.cjs");
15
- const require_http = require("./http-C-HrwUb8.cjs");
16
- const require_autoTrace = require("./autoTrace-D3-OZcmR.cjs");
14
+ const require_src = require("./src-CxELko3f.cjs");
15
+ const require_http = require("./http-DFqFW_hG.cjs");
16
+ const require_autoTrace = require("./autoTrace-DUmR1KJ8.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 ReplayBranch, $n as ExperimentJitter, $r as MockOverrideCtx, $t as LabelsClient, A as SpanMethodDecoratorContext, An as SavedTraceAssertion, Ar as BitfabVercelAiHandler, At as GraderLabel, B as ActiveSpanContext, Bn as TraceAssertion, Br as CategorySummary, Bt as ArchiveVerdictTarget, C as NodeMethodDecorator, Ci as Justification, Cn as SaveAssertion, Cr as RemoveDatasetTracesResult, Ct as BitfabAgentMiddleware, D as SeedCaseOptions, Dn as SaveScenarioData, Dr as SaveDatasetResult, Dt as BitfabLangGraphCallbackHandler, E as ReseedResult, En as SaveScenarioActualOutcome, Er as SaveDatasetParams, Et as LangGraphIntegrationOptions, F as WrappedBamlFn, Fn as ScenarioDataAppend, Fr as AssertionCategoriesClient, Ft as GraderVerdictOutcome, G as SpanListField, Gn as TraceSearchParams, Gr as HttpClient, Gt as HumanVerdictUpdate, H as TraceResponse, Hn as TraceAssertionsResult, Hr as SaveCategoryParams, Ht as HumanLabelOutcome, I as getCurrentReplayBranch, In as ScenarioDataOrigin, Ir as AssertionCategory, It as GraderVerdictSource, J as SpansClient, Jn as TraceTargetOccurrence, Jr as SpanType, Jt as LabelOutcome, K as SpanListParams, Kn as TraceSearchResult, Kr as SpanLookup, Kt as LabelAction, L as getCurrentSpan, Ln as ScenarioHistoryEntry, Lr as AssertionCategorySummary, Lt as GraderVerdictUpdate, M as WrapBAMLOptions, Mn as ScenarioAction, Mr as VercelGenerateResult, Mt as GraderLabelSource, N as WrapJevOptions, Nn as ScenarioActualOutcome, Nr as VercelStreamResult, Nt as GraderLabelUpdate, O as SeedRunOptions, On as SaveScenarioHistoryEntry, Or as UpdateDatasetParams, Ot as GetGraderLabelsParams, P as WrapOpenRouterOptions, Pn as ScenarioData, Pr as BitfabClaudeAgentHandler, Pt as GraderVerdict, Q as RivetIntegrationOptions, Qn as ExperimentCodeChangeTotals, Qr as MockOverride, Qt as LabelUpdate, R as getCurrentTrace, Rn as ScenarioSource, Rr as CategoriesClient, Rt as GradersClient, S as DetachedTrace, Si as Assignee, Sn as GenerateAssertionsOptions, Sr as RemoveDatasetGradersResult, St as BitfabOpenAIAgentHandler, T as ReseedOptions, Tn as SaveAssertionsParams, Tr as RerunGradersResult, Tt as BitfabLangGraphIntegration, U as TracingProcessor, Un as TraceAssertionsUpdate, Ur as CapturedSpan, Ut as HumanLabelUpdate, V as BitfabOpenAITracingProcessor, Vn as TraceAssertionSource, Vr as SaveAssertionCategoryParams, Vt as AssertionVerdict, W as ListedSpan, Wn as TraceSearchFilters, Wr as CodeChangeFile, Wt as HumanVerdictOutcome, X as RivetContextLike, Xn as Experiment, Xr as flushTraces, Xt as LabelStatus, Y as BitfabRivetIntegration, Yn as TracesClient, Yr as TokenUsage, Yt as LabelSource, Z as RivetEffectType, Zn as ExperimentCategoryTally, Zr as DbBranchTimings, Zt as LabelTarget, _ as BitfabConfig, _i as BamlExecutionResult, _n as AssertionGenerationTimeoutError, _r as GraderRerunProgress, _t as serializeReplayResult, a as ReplayRegistryOptions, ai as SpanNodeMeta, an as VerdictConfidence, ar as ExperimentTally, at as MockStrategy, b as CurrentSpan, bi as ApprovalState, bn as AssertionRewriteStatus, br as GraderRerunTimeoutError, bt as OrganizationMember, c as SeedResult, ci as DbSnapshotConfig, cn as VerdictStatus, cr as ListExperimentsParams, ct as ReplayItem, d as seedFromRegistry, di as SUPPORTED_PROVIDERS, dn as VerdictsClient, dr as Dataset, dt as ReplayOptions, ei as MockOverrideInput, en as PassFailVerdict, er as ExperimentPage, et as AdaptContext, f as finalizers, fi as ReplayNodeIdentity, fn as ArchiveAssertionsParams, fr as DatasetGraderRef, ft as ReplayProgress, g as Bitfab, gi as AllowedEnvVars, gn as AssertionGenerationStatus, gr as GraderRerunError, gt as reportReplayProgress, h as CommitRef, hi as SelectiveReplayReport, hn as AssertionGenerationError, hr as GraderRerun, ht as TraceIngestionType, i as ReplayRegistryContext, ii as NodeMatcher, in as VerdictAction, ir as ExperimentStatus, it as DbBranchReplayError, j as SpanOptions, jn as Scenario, jr as VercelCallParams, jt as GraderLabelOutcome, k as SpanMethodDecorator, kn as SaveScenarioParams, kr as BitfabLanguageModelMiddleware, kt as GetGraderVerdictsParams, l as defineReplayRegistry, li as DbSnapshotProvider, ln as VerdictTarget, lr as AddDatasetGradersResult, lt as ReplayItemFinishProgress, m as __version__, mi as SelectiveReplayOptions, mn as AssertionGeneration, mr as DatasetsClient, mt as ReplayResult, n as ReplayRegistration, ni as MockValue, nn as TraceVerdicts, nr as ExperimentRollupResult, nt as BITFAB_PROGRESS_PREFIX, o as ReseedRegistryResult, oi as BitfabError, on as VerdictOutcome, or as ExperimentTotals, ot as ReplayError, p as DEFAULT_SERVICE_URL, pi as SelectiveReplayDecision, pn as AssertionEvidenceParameter, pr as DatasetTraceIds, pt as ReplayProgressItem, q as SpanListResult, qn as TraceTarget, qr as SpanOccurrence, qt as LabelConfidence, r as ReplayRegistry, ri as NO_MOCK_OVERRIDE, rn as Verdict, rr as ExperimentRunBy, rt as DbBranchOptions, s as SeedCase, si as MixedTracingError, sn as VerdictSource, sr as ExperimentsClient, st as ReplayExperiment, t as ReplayOptionsFactory, ti as MockOverrideResolver, tn as TraceLabels, tr as ExperimentRollup, tt as AdaptInputsFn, u as reseedFromRegistry, ui as DbSnapshotRef, un as VerdictUpdate, ur as AddDatasetTracesResult, ut as ReplayItemStartProgress, v as BitfabFunction, vi as ProviderDefinition, vn as AssertionLabelEvidence, vr as GraderRerunResult, vt as ReplayInterrupt, w as NodeOptions, wi as JustificationSpan, wn as SaveAssertionsAllParams, wr as RerunGradersOptions, wt as BitfabLangGraphAgent, x as CurrentTrace, xi as Approver, xn as AssertionVerdictEvidence, xr as ListDatasetsParams, xt as OrganizationMembersClient, y as CaptureWhen, yi as ApprovalFields, yn as AssertionRewrite, yr as GraderRerunStatus, yt as ReplayInterruptSignal, z as CaptureSurface, zn as ScenarioTrigger, zr as Category, zt as ArchiveLabelTarget } from "./index-BcGxu85i.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, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, 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 };
1
+ import { $ as RivetEffectType, $n as ExperimentCategoryTally, $r as DbBranchTimings, $t as LabelTarget, A as SpanMethodDecoratorContext, An as SaveScenarioHistoryEntry, Ar as UpdateDatasetParams, At as GetGraderLabelsParams, B as getCurrentTrace, Bn as ScenarioSource, Br as CategoriesClient, Bt as GradersClient, C as NodeMethodDecorator, Ci as Approver, Cn as AssertionVerdictEvidence, Cr as ListDatasetsParams, Ct as OrganizationMembersClient, D as SeedCaseOptions, Dn as SaveAssertionsParams, Dr as RerunGradersResult, Dt as BitfabLangGraphIntegration, E as ReseedResult, Ei as JustificationSpan, En as SaveAssertionsAllParams, Er as RerunGradersOptions, Et as BitfabLangGraphAgent, F as WrapOpenAIResponsesOptions, Fn as ScenarioActualOutcome, Fr as VercelStreamResult, Ft as GraderLabelUpdate, G as TracingProcessor, Gn as TraceAssertionsUpdate, Gr as CapturedSpan, Gt as HumanLabelUpdate, H as ActiveSpanContext, Hn as TraceAssertion, Hr as CategorySummary, Ht as ArchiveVerdictTarget, I as WrapOpenRouterOptions, In as ScenarioData, Ir as BitfabClaudeAgentHandler, It as GraderVerdict, J as SpanListParams, Jn as TraceSearchResult, Jr as SpanLookup, Jt as LabelAction, K as ListedSpan, Kn as TraceSearchFilters, Kr as CodeChangeFile, Kt as HumanVerdictOutcome, L as WrappedBamlFn, Ln as ScenarioDataAppend, Lr as AssertionCategoriesClient, Lt as GraderVerdictOutcome, M as WrapAnthropicOptions, Mn as SavedTraceAssertion, Mr as BitfabVercelAiHandler, Mt as GraderLabel, N as WrapBAMLOptions, Nn as Scenario, Nr as VercelCallParams, Nt as GraderLabelOutcome, O as SeedRunOptions, On as SaveScenarioActualOutcome, Or as SaveDatasetParams, Ot as LangGraphIntegrationOptions, P as WrapJevOptions, Pn as ScenarioAction, Pr as VercelGenerateResult, Pt as GraderLabelSource, Q as RivetContextLike, Qn as Experiment, Qr as flushTraces, Qt as LabelStatus, R as getCurrentReplayBranch, Rn as ScenarioDataOrigin, Rr as AssertionCategory, Rt as GraderVerdictSource, S as DetachedTrace, Si as ApprovalState, Sn as AssertionRewriteStatus, Sr as GraderRerunTimeoutError, St as OrganizationMember, T as ReseedOptions, Ti as Justification, Tn as SaveAssertion, Tr as RemoveDatasetTracesResult, Tt as BitfabAgentMiddleware, U as BitfabOpenAITracingProcessor, Un as TraceAssertionSource, Ur as SaveAssertionCategoryParams, Ut as AssertionVerdict, V as CaptureSurface, Vn as ScenarioTrigger, Vr as Category, Vt as ArchiveLabelTarget, W as TraceResponse, Wn as TraceAssertionsResult, Wr as SaveCategoryParams, Wt as HumanLabelOutcome, X as SpansClient, Xn as TraceTargetOccurrence, Xr as SpanType, Xt as LabelOutcome, Y as SpanListResult, Yn as TraceTarget, Yr as SpanOccurrence, Yt as LabelConfidence, Z as BitfabRivetIntegration, Zn as TracesClient, Zr as TokenUsage, Zt as LabelSource, _ as BitfabConfig, _i as SelectiveReplayReport, _n as AssertionGenerationError, _r as GraderRerun, _t as TraceIngestionType, a as ReplayRegistryOptions, ai as NO_MOCK_OVERRIDE, an as Verdict, ar as ExperimentRunBy, at as DbBranchOptions, b as CurrentSpan, bi as ProviderDefinition, bn as AssertionLabelEvidence, br as GraderRerunResult, bt as ReplayInterrupt, c as SeedResult, ci as BitfabError, cn as VerdictOutcome, cr as ExperimentTotals, ct as ReplayError, d as seedFromRegistry, di as DbSnapshotProvider, dn as VerdictTarget, dr as AddDatasetGradersResult, dt as ReplayItemFinishProgress, ei as MockOverride, en as LabelUpdate, er as ExperimentCodeChangeTotals, et as RivetIntegrationOptions, f as finalizers, fi as DbSnapshotRef, fn as VerdictUpdate, fr as AddDatasetTracesResult, ft as ReplayItemStartProgress, g as Bitfab, gi as SelectiveReplayOptions, gn as AssertionGeneration, gr as DatasetsClient, gt as ReplayResult, h as CommitRef, hi as SelectiveReplayDecision, hn as AssertionEvidenceParameter, hr as DatasetTraceIds, ht as ReplayProgressItem, i as ReplayRegistryContext, ii as MockValue, in as TraceVerdicts, ir as ExperimentRollupResult, it as BITFAB_PROGRESS_PREFIX, j as SpanOptions, jn as SaveScenarioParams, jr as BitfabLanguageModelMiddleware, jt as GetGraderVerdictsParams, k as SpanMethodDecorator, kn as SaveScenarioData, kr as SaveDatasetResult, kt as BitfabLangGraphCallbackHandler, l as defineReplayRegistry, li as MixedTracingError, ln as VerdictSource, lr as ExperimentsClient, lt as ReplayExperiment, m as __version__, mi as ReplayNodeIdentity, mn as ArchiveAssertionsParams, mr as DatasetGraderRef, mt as ReplayProgress, n as ReplayRegistration, ni as MockOverrideInput, nn as PassFailVerdict, nr as ExperimentPage, nt as AdaptContext, o as ReseedRegistryResult, oi as NodeMatcher, on as VerdictAction, or as ExperimentStatus, ot as DbBranchReplayError, p as DEFAULT_SERVICE_URL, pi as SUPPORTED_PROVIDERS, pn as VerdictsClient, pr as Dataset, pt as ReplayOptions, q as SpanListField, qn as TraceSearchParams, qr as HttpClient, qt as HumanVerdictUpdate, r as ReplayRegistry, ri as MockOverrideResolver, rn as TraceLabels, rr as ExperimentRollup, rt as AdaptInputsFn, s as SeedCase, si as SpanNodeMeta, sn as VerdictConfidence, sr as ExperimentTally, st as MockStrategy, t as ReplayOptionsFactory, ti as MockOverrideCtx, tn as LabelsClient, tr as ExperimentJitter, tt as ReplayBranch, u as reseedFromRegistry, ui as DbSnapshotConfig, un as VerdictStatus, ur as ListExperimentsParams, ut as ReplayItem, v as BitfabFunction, vi as AllowedEnvVars, vn as AssertionGenerationStatus, vr as GraderRerunError, vt as reportReplayProgress, w as NodeOptions, wi as Assignee, wn as GenerateAssertionsOptions, wr as RemoveDatasetGradersResult, wt as BitfabOpenAIAgentHandler, x as CurrentTrace, xi as ApprovalFields, xn as AssertionRewrite, xr as GraderRerunStatus, xt as ReplayInterruptSignal, y as CaptureWhen, yi as BamlExecutionResult, yn as AssertionGenerationTimeoutError, yr as GraderRerunProgress, yt as serializeReplayResult, z as getCurrentSpan, zn as ScenarioHistoryEntry, zr as AssertionCategorySummary, zt as GraderVerdictUpdate } from "./index-DMJ6qrtL.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, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, 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 WrapAnthropicOptions, type WrapBAMLOptions, type WrapJevOptions, type WrapOpenAIResponsesOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };