@bitfab/sdk 0.65.8 → 0.65.9

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.
@@ -4266,7 +4266,7 @@ interface CommitRef {
4266
4266
  /**
4267
4267
  * SDK version from package.json (injected at build time)
4268
4268
  */
4269
- declare const __version__ = "0.65.8";
4269
+ declare const __version__ = "0.65.9";
4270
4270
  //#endregion
4271
4271
  //#region src/constants.d.ts
4272
4272
  /**
@@ -4266,7 +4266,7 @@ interface CommitRef {
4266
4266
  /**
4267
4267
  * SDK version from package.json (injected at build time)
4268
4268
  */
4269
- declare const __version__ = "0.65.8";
4269
+ declare const __version__ = "0.65.9";
4270
4270
  //#endregion
4271
4271
  //#region src/constants.d.ts
4272
4272
  /**
package/dist/index.cjs CHANGED
@@ -2,8 +2,8 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_src = require("./src-gxbiiKid.cjs");
6
- const require_http = require("./http-Cy8I9KDT.cjs");
5
+ const require_src = require("./src-BWZx-C1S.cjs");
6
+ const require_http = require("./http-DX-fpUSu.cjs");
7
7
  exports.AssertionCategoriesClient = require_src.AssertionCategoriesClient;
8
8
  exports.AssertionGenerationError = require_src.AssertionGenerationError;
9
9
  exports.AssertionGenerationTimeoutError = require_src.AssertionGenerationTimeoutError;
package/dist/index.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as AdaptInputsFn, $n as RerunGradersResult, $t as SaveAssertionsAllParams, A as SpanMethodDecoratorContext, An as ExperimentRollupResult, Ar as MockValue, At as ArchiveLabelTarget, B as TraceResponse, Bn as DatasetGraderRef, Br as ReplayNodeIdentity, Bt as LabelUpdate, C as NodeMethodDecorator, Cn as TracesClient, Cr as TokenUsage, Ct as BitfabLangGraphCallbackHandler, D as SeedCaseOptions, Dn as ExperimentJitter, Dr as MockOverrideCtx, Dt as GraderLabelSource, E as ReseedResult, En as ExperimentCodeChangeTotals, Er as MockOverride, Et as GraderLabelOutcome, F as getCurrentSpan, Fn as ExperimentsClient, Fr as MixedTracingError, Ft as LabelConfidence, G as SpanListResult, Gn as GraderRerunProgress, Gr as BamlExecutionResult, Gt as AssertionEvidenceParameter, H as ListedSpan, Hn as DatasetsClient, Hr as SelectiveReplayOptions, Ht as TraceLabels, I as getCurrentTrace, In as ListExperimentsParams, Ir as DbSnapshotConfig, It as LabelOutcome, J as RivetContextLike, Jn as GraderRerunTimeoutError, Jr as ApprovalState, Jt as AssertionGenerationStatus, K as SpansClient, Kn as GraderRerunResult, Kr as ProviderDefinition, Kt as AssertionGeneration, L as CaptureSurface, Ln as AddDatasetGradersResult, Lr as DbSnapshotProvider, Lt as LabelSource, M as WrapBAMLOptions, Mn as ExperimentStatus, Mr as NodeMatcher, Mt as HumanLabelOutcome, N as WrappedBamlFn, Nn as ExperimentTally, Nr as SpanNodeMeta, Nt as HumanLabelUpdate, O as SeedRunOptions, On as ExperimentPage, Or as MockOverrideInput, Ot as GraderLabelUpdate, P as getCurrentReplayBranch, Pn as ExperimentTotals, Pr as BitfabError, Pt as LabelAction, Q as AdaptContext, Qn as RerunGradersOptions, Qr as JustificationSpan, Qt as SaveAssertion, R as ActiveSpanContext, Rn as AddDatasetTracesResult, Rr as DbSnapshotRef, Rt as LabelStatus, S as DetachedTrace, Sn as TraceTargetOccurrence, Sr as SpanType, St as LangGraphIntegrationOptions, T as ReseedOptions, Tn as ExperimentCategoryTally, Tr as DbBranchTimings, Tt as GraderLabel, U as SpanListField, Un as GraderRerun, Ur as SelectiveReplayReport, Ut as Verdict, V as TracingProcessor, Vn as DatasetTraceIds, Vr as SelectiveReplayDecision, Vt as LabelsClient, W as SpanListParams, Wn as GraderRerunError, Wr as AllowedEnvVars, Wt as ArchiveAssertionsParams, X as RivetIntegrationOptions, Xn as RemoveDatasetGradersResult, Xr as Assignee, Xt as AssertionLabelEvidence, Y as RivetEffectType, Yn as ListDatasetsParams, Yr as Approver, Yt as AssertionGenerationTimeoutError, Z as ReplayBranch, Zn as RemoveDatasetTracesResult, Zr as Justification, Zt as GenerateAssertionsOptions, _ as BitfabConfig, _n as TraceAssertionsUpdate, _r as CapturedSpan, _t as ReplayInterruptSignal, a as ReplayRegistryOptions, an as Scenario, ar as VercelCallParams, at as ReplayExperiment, b as CurrentSpan, bn as TraceSearchResult, br as SpanLookup, bt as BitfabOpenAIAgentHandler, c as SeedResult, cn as ScenarioData, cr as BitfabClaudeAgentHandler, ct as ReplayItemStartProgress, d as seedFromRegistry, dn as ScenarioHistoryEntry, dr as AssertionCategorySummary, dt as ReplayProgressItem, en as SaveAssertionsParams, er as SaveDatasetParams, et as BITFAB_PROGRESS_PREFIX, f as finalizers, fn as ScenarioSource, fr as CategoriesClient, ft as ReplayResult, g as Bitfab, gn as TraceAssertionsResult, gr as SaveCategoryParams, gt as ReplayInterrupt, h as CommitRef, hn as TraceAssertionSource, hr as SaveAssertionCategoryParams, ht as serializeReplayResult, i as ReplayRegistryContext, in as SaveScenarioParams, ir as BitfabVercelAiHandler, it as ReplayError, j as SpanOptions, jn as ExperimentRunBy, jr as NO_MOCK_OVERRIDE, jt as AssertionVerdict, k as SpanMethodDecorator, kn as ExperimentRollup, kr as MockOverrideResolver, kt as GradersClient, l as defineReplayRegistry, ln as ScenarioDataAppend, lr as AssertionCategoriesClient, lt as ReplayOptions, m as __version__, mn as TraceAssertion, mr as CategorySummary, mt as reportReplayProgress, n as ReplayRegistration, nn as SaveScenarioData, nr as UpdateDatasetParams, nt as DbBranchReplayError, o as ReseedRegistryResult, on as ScenarioAction, or as VercelGenerateResult, ot as ReplayItem, p as DEFAULT_SERVICE_URL, pn as ScenarioTrigger, pr as Category, pt as TraceIngestionType, q as BitfabRivetIntegration, qn as GraderRerunStatus, qr as ApprovalFields, qt as AssertionGenerationError, r as ReplayRegistry, rn as SaveScenarioHistoryEntry, rr as BitfabLanguageModelMiddleware, rt as MockStrategy, s as SeedCase, sn as ScenarioActualOutcome, sr as VercelStreamResult, st as ReplayItemFinishProgress, t as ReplayOptionsFactory, tn as SaveScenarioActualOutcome, tr as SaveDatasetResult, tt as DbBranchOptions, u as reseedFromRegistry, un as ScenarioDataOrigin, ur as AssertionCategory, ut as ReplayProgress, v as BitfabFunction, vn as TraceSearchFilters, vr as CodeChangeFile, vt as OrganizationMember, w as NodeOptions, wn as Experiment, wr as flushTraces, wt as GetGraderLabelsParams, x as CurrentTrace, xn as TraceTarget, xr as SpanOccurrence, xt as BitfabLangGraphIntegration, y as CaptureWhen, yn as TraceSearchParams, yr as HttpClient, yt as OrganizationMembersClient, z as BitfabOpenAITracingProcessor, zn as Dataset, zr as SUPPORTED_PROVIDERS, zt as LabelTarget } from "./index-w-vRmDmF.cjs";
1
+ import { $ as AdaptInputsFn, $n as RerunGradersResult, $t as SaveAssertionsAllParams, A as SpanMethodDecoratorContext, An as ExperimentRollupResult, Ar as MockValue, At as ArchiveLabelTarget, B as TraceResponse, Bn as DatasetGraderRef, Br as ReplayNodeIdentity, Bt as LabelUpdate, C as NodeMethodDecorator, Cn as TracesClient, Cr as TokenUsage, Ct as BitfabLangGraphCallbackHandler, D as SeedCaseOptions, Dn as ExperimentJitter, Dr as MockOverrideCtx, Dt as GraderLabelSource, E as ReseedResult, En as ExperimentCodeChangeTotals, Er as MockOverride, Et as GraderLabelOutcome, F as getCurrentSpan, Fn as ExperimentsClient, Fr as MixedTracingError, Ft as LabelConfidence, G as SpanListResult, Gn as GraderRerunProgress, Gr as BamlExecutionResult, Gt as AssertionEvidenceParameter, H as ListedSpan, Hn as DatasetsClient, Hr as SelectiveReplayOptions, Ht as TraceLabels, I as getCurrentTrace, In as ListExperimentsParams, Ir as DbSnapshotConfig, It as LabelOutcome, J as RivetContextLike, Jn as GraderRerunTimeoutError, Jr as ApprovalState, Jt as AssertionGenerationStatus, K as SpansClient, Kn as GraderRerunResult, Kr as ProviderDefinition, Kt as AssertionGeneration, L as CaptureSurface, Ln as AddDatasetGradersResult, Lr as DbSnapshotProvider, Lt as LabelSource, M as WrapBAMLOptions, Mn as ExperimentStatus, Mr as NodeMatcher, Mt as HumanLabelOutcome, N as WrappedBamlFn, Nn as ExperimentTally, Nr as SpanNodeMeta, Nt as HumanLabelUpdate, O as SeedRunOptions, On as ExperimentPage, Or as MockOverrideInput, Ot as GraderLabelUpdate, P as getCurrentReplayBranch, Pn as ExperimentTotals, Pr as BitfabError, Pt as LabelAction, Q as AdaptContext, Qn as RerunGradersOptions, Qr as JustificationSpan, Qt as SaveAssertion, R as ActiveSpanContext, Rn as AddDatasetTracesResult, Rr as DbSnapshotRef, Rt as LabelStatus, S as DetachedTrace, Sn as TraceTargetOccurrence, Sr as SpanType, St as LangGraphIntegrationOptions, T as ReseedOptions, Tn as ExperimentCategoryTally, Tr as DbBranchTimings, Tt as GraderLabel, U as SpanListField, Un as GraderRerun, Ur as SelectiveReplayReport, Ut as Verdict, V as TracingProcessor, Vn as DatasetTraceIds, Vr as SelectiveReplayDecision, Vt as LabelsClient, W as SpanListParams, Wn as GraderRerunError, Wr as AllowedEnvVars, Wt as ArchiveAssertionsParams, X as RivetIntegrationOptions, Xn as RemoveDatasetGradersResult, Xr as Assignee, Xt as AssertionLabelEvidence, Y as RivetEffectType, Yn as ListDatasetsParams, Yr as Approver, Yt as AssertionGenerationTimeoutError, Z as ReplayBranch, Zn as RemoveDatasetTracesResult, Zr as Justification, Zt as GenerateAssertionsOptions, _ as BitfabConfig, _n as TraceAssertionsUpdate, _r as CapturedSpan, _t as ReplayInterruptSignal, a as ReplayRegistryOptions, an as Scenario, ar as VercelCallParams, at as ReplayExperiment, b as CurrentSpan, bn as TraceSearchResult, br as SpanLookup, bt as BitfabOpenAIAgentHandler, c as SeedResult, cn as ScenarioData, cr as BitfabClaudeAgentHandler, ct as ReplayItemStartProgress, d as seedFromRegistry, dn as ScenarioHistoryEntry, dr as AssertionCategorySummary, dt as ReplayProgressItem, en as SaveAssertionsParams, er as SaveDatasetParams, et as BITFAB_PROGRESS_PREFIX, f as finalizers, fn as ScenarioSource, fr as CategoriesClient, ft as ReplayResult, g as Bitfab, gn as TraceAssertionsResult, gr as SaveCategoryParams, gt as ReplayInterrupt, h as CommitRef, hn as TraceAssertionSource, hr as SaveAssertionCategoryParams, ht as serializeReplayResult, i as ReplayRegistryContext, in as SaveScenarioParams, ir as BitfabVercelAiHandler, it as ReplayError, j as SpanOptions, jn as ExperimentRunBy, jr as NO_MOCK_OVERRIDE, jt as AssertionVerdict, k as SpanMethodDecorator, kn as ExperimentRollup, kr as MockOverrideResolver, kt as GradersClient, l as defineReplayRegistry, ln as ScenarioDataAppend, lr as AssertionCategoriesClient, lt as ReplayOptions, m as __version__, mn as TraceAssertion, mr as CategorySummary, mt as reportReplayProgress, n as ReplayRegistration, nn as SaveScenarioData, nr as UpdateDatasetParams, nt as DbBranchReplayError, o as ReseedRegistryResult, on as ScenarioAction, or as VercelGenerateResult, ot as ReplayItem, p as DEFAULT_SERVICE_URL, pn as ScenarioTrigger, pr as Category, pt as TraceIngestionType, q as BitfabRivetIntegration, qn as GraderRerunStatus, qr as ApprovalFields, qt as AssertionGenerationError, r as ReplayRegistry, rn as SaveScenarioHistoryEntry, rr as BitfabLanguageModelMiddleware, rt as MockStrategy, s as SeedCase, sn as ScenarioActualOutcome, sr as VercelStreamResult, st as ReplayItemFinishProgress, t as ReplayOptionsFactory, tn as SaveScenarioActualOutcome, tr as SaveDatasetResult, tt as DbBranchOptions, u as reseedFromRegistry, un as ScenarioDataOrigin, ur as AssertionCategory, ut as ReplayProgress, v as BitfabFunction, vn as TraceSearchFilters, vr as CodeChangeFile, vt as OrganizationMember, w as NodeOptions, wn as Experiment, wr as flushTraces, wt as GetGraderLabelsParams, x as CurrentTrace, xn as TraceTarget, xr as SpanOccurrence, xt as BitfabLangGraphIntegration, y as CaptureWhen, yn as TraceSearchParams, yr as HttpClient, yt as OrganizationMembersClient, z as BitfabOpenAITracingProcessor, zn as Dataset, zr as SUPPORTED_PROVIDERS, zt as LabelTarget } from "./index-C2b7Qyjw.cjs";
2
2
  export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionVerdict, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, 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 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 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, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type WrapBAMLOptions, 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 AdaptInputsFn, $n as RerunGradersResult, $t as SaveAssertionsAllParams, A as SpanMethodDecoratorContext, An as ExperimentRollupResult, Ar as MockValue, At as ArchiveLabelTarget, B as TraceResponse, Bn as DatasetGraderRef, Br as ReplayNodeIdentity, Bt as LabelUpdate, C as NodeMethodDecorator, Cn as TracesClient, Cr as TokenUsage, Ct as BitfabLangGraphCallbackHandler, D as SeedCaseOptions, Dn as ExperimentJitter, Dr as MockOverrideCtx, Dt as GraderLabelSource, E as ReseedResult, En as ExperimentCodeChangeTotals, Er as MockOverride, Et as GraderLabelOutcome, F as getCurrentSpan, Fn as ExperimentsClient, Fr as MixedTracingError, Ft as LabelConfidence, G as SpanListResult, Gn as GraderRerunProgress, Gr as BamlExecutionResult, Gt as AssertionEvidenceParameter, H as ListedSpan, Hn as DatasetsClient, Hr as SelectiveReplayOptions, Ht as TraceLabels, I as getCurrentTrace, In as ListExperimentsParams, Ir as DbSnapshotConfig, It as LabelOutcome, J as RivetContextLike, Jn as GraderRerunTimeoutError, Jr as ApprovalState, Jt as AssertionGenerationStatus, K as SpansClient, Kn as GraderRerunResult, Kr as ProviderDefinition, Kt as AssertionGeneration, L as CaptureSurface, Ln as AddDatasetGradersResult, Lr as DbSnapshotProvider, Lt as LabelSource, M as WrapBAMLOptions, Mn as ExperimentStatus, Mr as NodeMatcher, Mt as HumanLabelOutcome, N as WrappedBamlFn, Nn as ExperimentTally, Nr as SpanNodeMeta, Nt as HumanLabelUpdate, O as SeedRunOptions, On as ExperimentPage, Or as MockOverrideInput, Ot as GraderLabelUpdate, P as getCurrentReplayBranch, Pn as ExperimentTotals, Pr as BitfabError, Pt as LabelAction, Q as AdaptContext, Qn as RerunGradersOptions, Qr as JustificationSpan, Qt as SaveAssertion, R as ActiveSpanContext, Rn as AddDatasetTracesResult, Rr as DbSnapshotRef, Rt as LabelStatus, S as DetachedTrace, Sn as TraceTargetOccurrence, Sr as SpanType, St as LangGraphIntegrationOptions, T as ReseedOptions, Tn as ExperimentCategoryTally, Tr as DbBranchTimings, Tt as GraderLabel, U as SpanListField, Un as GraderRerun, Ur as SelectiveReplayReport, Ut as Verdict, V as TracingProcessor, Vn as DatasetTraceIds, Vr as SelectiveReplayDecision, Vt as LabelsClient, W as SpanListParams, Wn as GraderRerunError, Wr as AllowedEnvVars, Wt as ArchiveAssertionsParams, X as RivetIntegrationOptions, Xn as RemoveDatasetGradersResult, Xr as Assignee, Xt as AssertionLabelEvidence, Y as RivetEffectType, Yn as ListDatasetsParams, Yr as Approver, Yt as AssertionGenerationTimeoutError, Z as ReplayBranch, Zn as RemoveDatasetTracesResult, Zr as Justification, Zt as GenerateAssertionsOptions, _ as BitfabConfig, _n as TraceAssertionsUpdate, _r as CapturedSpan, _t as ReplayInterruptSignal, a as ReplayRegistryOptions, an as Scenario, ar as VercelCallParams, at as ReplayExperiment, b as CurrentSpan, bn as TraceSearchResult, br as SpanLookup, bt as BitfabOpenAIAgentHandler, c as SeedResult, cn as ScenarioData, cr as BitfabClaudeAgentHandler, ct as ReplayItemStartProgress, d as seedFromRegistry, dn as ScenarioHistoryEntry, dr as AssertionCategorySummary, dt as ReplayProgressItem, en as SaveAssertionsParams, er as SaveDatasetParams, et as BITFAB_PROGRESS_PREFIX, f as finalizers, fn as ScenarioSource, fr as CategoriesClient, ft as ReplayResult, g as Bitfab, gn as TraceAssertionsResult, gr as SaveCategoryParams, gt as ReplayInterrupt, h as CommitRef, hn as TraceAssertionSource, hr as SaveAssertionCategoryParams, ht as serializeReplayResult, i as ReplayRegistryContext, in as SaveScenarioParams, ir as BitfabVercelAiHandler, it as ReplayError, j as SpanOptions, jn as ExperimentRunBy, jr as NO_MOCK_OVERRIDE, jt as AssertionVerdict, k as SpanMethodDecorator, kn as ExperimentRollup, kr as MockOverrideResolver, kt as GradersClient, l as defineReplayRegistry, ln as ScenarioDataAppend, lr as AssertionCategoriesClient, lt as ReplayOptions, m as __version__, mn as TraceAssertion, mr as CategorySummary, mt as reportReplayProgress, n as ReplayRegistration, nn as SaveScenarioData, nr as UpdateDatasetParams, nt as DbBranchReplayError, o as ReseedRegistryResult, on as ScenarioAction, or as VercelGenerateResult, ot as ReplayItem, p as DEFAULT_SERVICE_URL, pn as ScenarioTrigger, pr as Category, pt as TraceIngestionType, q as BitfabRivetIntegration, qn as GraderRerunStatus, qr as ApprovalFields, qt as AssertionGenerationError, r as ReplayRegistry, rn as SaveScenarioHistoryEntry, rr as BitfabLanguageModelMiddleware, rt as MockStrategy, s as SeedCase, sn as ScenarioActualOutcome, sr as VercelStreamResult, st as ReplayItemFinishProgress, t as ReplayOptionsFactory, tn as SaveScenarioActualOutcome, tr as SaveDatasetResult, tt as DbBranchOptions, u as reseedFromRegistry, un as ScenarioDataOrigin, ur as AssertionCategory, ut as ReplayProgress, v as BitfabFunction, vn as TraceSearchFilters, vr as CodeChangeFile, vt as OrganizationMember, w as NodeOptions, wn as Experiment, wr as flushTraces, wt as GetGraderLabelsParams, x as CurrentTrace, xn as TraceTarget, xr as SpanOccurrence, xt as BitfabLangGraphIntegration, y as CaptureWhen, yn as TraceSearchParams, yr as HttpClient, yt as OrganizationMembersClient, z as BitfabOpenAITracingProcessor, zn as Dataset, zr as SUPPORTED_PROVIDERS, zt as LabelTarget } from "./index-w-vRmDmF.js";
1
+ import { $ as AdaptInputsFn, $n as RerunGradersResult, $t as SaveAssertionsAllParams, A as SpanMethodDecoratorContext, An as ExperimentRollupResult, Ar as MockValue, At as ArchiveLabelTarget, B as TraceResponse, Bn as DatasetGraderRef, Br as ReplayNodeIdentity, Bt as LabelUpdate, C as NodeMethodDecorator, Cn as TracesClient, Cr as TokenUsage, Ct as BitfabLangGraphCallbackHandler, D as SeedCaseOptions, Dn as ExperimentJitter, Dr as MockOverrideCtx, Dt as GraderLabelSource, E as ReseedResult, En as ExperimentCodeChangeTotals, Er as MockOverride, Et as GraderLabelOutcome, F as getCurrentSpan, Fn as ExperimentsClient, Fr as MixedTracingError, Ft as LabelConfidence, G as SpanListResult, Gn as GraderRerunProgress, Gr as BamlExecutionResult, Gt as AssertionEvidenceParameter, H as ListedSpan, Hn as DatasetsClient, Hr as SelectiveReplayOptions, Ht as TraceLabels, I as getCurrentTrace, In as ListExperimentsParams, Ir as DbSnapshotConfig, It as LabelOutcome, J as RivetContextLike, Jn as GraderRerunTimeoutError, Jr as ApprovalState, Jt as AssertionGenerationStatus, K as SpansClient, Kn as GraderRerunResult, Kr as ProviderDefinition, Kt as AssertionGeneration, L as CaptureSurface, Ln as AddDatasetGradersResult, Lr as DbSnapshotProvider, Lt as LabelSource, M as WrapBAMLOptions, Mn as ExperimentStatus, Mr as NodeMatcher, Mt as HumanLabelOutcome, N as WrappedBamlFn, Nn as ExperimentTally, Nr as SpanNodeMeta, Nt as HumanLabelUpdate, O as SeedRunOptions, On as ExperimentPage, Or as MockOverrideInput, Ot as GraderLabelUpdate, P as getCurrentReplayBranch, Pn as ExperimentTotals, Pr as BitfabError, Pt as LabelAction, Q as AdaptContext, Qn as RerunGradersOptions, Qr as JustificationSpan, Qt as SaveAssertion, R as ActiveSpanContext, Rn as AddDatasetTracesResult, Rr as DbSnapshotRef, Rt as LabelStatus, S as DetachedTrace, Sn as TraceTargetOccurrence, Sr as SpanType, St as LangGraphIntegrationOptions, T as ReseedOptions, Tn as ExperimentCategoryTally, Tr as DbBranchTimings, Tt as GraderLabel, U as SpanListField, Un as GraderRerun, Ur as SelectiveReplayReport, Ut as Verdict, V as TracingProcessor, Vn as DatasetTraceIds, Vr as SelectiveReplayDecision, Vt as LabelsClient, W as SpanListParams, Wn as GraderRerunError, Wr as AllowedEnvVars, Wt as ArchiveAssertionsParams, X as RivetIntegrationOptions, Xn as RemoveDatasetGradersResult, Xr as Assignee, Xt as AssertionLabelEvidence, Y as RivetEffectType, Yn as ListDatasetsParams, Yr as Approver, Yt as AssertionGenerationTimeoutError, Z as ReplayBranch, Zn as RemoveDatasetTracesResult, Zr as Justification, Zt as GenerateAssertionsOptions, _ as BitfabConfig, _n as TraceAssertionsUpdate, _r as CapturedSpan, _t as ReplayInterruptSignal, a as ReplayRegistryOptions, an as Scenario, ar as VercelCallParams, at as ReplayExperiment, b as CurrentSpan, bn as TraceSearchResult, br as SpanLookup, bt as BitfabOpenAIAgentHandler, c as SeedResult, cn as ScenarioData, cr as BitfabClaudeAgentHandler, ct as ReplayItemStartProgress, d as seedFromRegistry, dn as ScenarioHistoryEntry, dr as AssertionCategorySummary, dt as ReplayProgressItem, en as SaveAssertionsParams, er as SaveDatasetParams, et as BITFAB_PROGRESS_PREFIX, f as finalizers, fn as ScenarioSource, fr as CategoriesClient, ft as ReplayResult, g as Bitfab, gn as TraceAssertionsResult, gr as SaveCategoryParams, gt as ReplayInterrupt, h as CommitRef, hn as TraceAssertionSource, hr as SaveAssertionCategoryParams, ht as serializeReplayResult, i as ReplayRegistryContext, in as SaveScenarioParams, ir as BitfabVercelAiHandler, it as ReplayError, j as SpanOptions, jn as ExperimentRunBy, jr as NO_MOCK_OVERRIDE, jt as AssertionVerdict, k as SpanMethodDecorator, kn as ExperimentRollup, kr as MockOverrideResolver, kt as GradersClient, l as defineReplayRegistry, ln as ScenarioDataAppend, lr as AssertionCategoriesClient, lt as ReplayOptions, m as __version__, mn as TraceAssertion, mr as CategorySummary, mt as reportReplayProgress, n as ReplayRegistration, nn as SaveScenarioData, nr as UpdateDatasetParams, nt as DbBranchReplayError, o as ReseedRegistryResult, on as ScenarioAction, or as VercelGenerateResult, ot as ReplayItem, p as DEFAULT_SERVICE_URL, pn as ScenarioTrigger, pr as Category, pt as TraceIngestionType, q as BitfabRivetIntegration, qn as GraderRerunStatus, qr as ApprovalFields, qt as AssertionGenerationError, r as ReplayRegistry, rn as SaveScenarioHistoryEntry, rr as BitfabLanguageModelMiddleware, rt as MockStrategy, s as SeedCase, sn as ScenarioActualOutcome, sr as VercelStreamResult, st as ReplayItemFinishProgress, t as ReplayOptionsFactory, tn as SaveScenarioActualOutcome, tr as SaveDatasetResult, tt as DbBranchOptions, u as reseedFromRegistry, un as ScenarioDataOrigin, ur as AssertionCategory, ut as ReplayProgress, v as BitfabFunction, vn as TraceSearchFilters, vr as CodeChangeFile, vt as OrganizationMember, w as NodeOptions, wn as Experiment, wr as flushTraces, wt as GetGraderLabelsParams, x as CurrentTrace, xn as TraceTarget, xr as SpanOccurrence, xt as BitfabLangGraphIntegration, y as CaptureWhen, yn as TraceSearchParams, yr as HttpClient, yt as OrganizationMembersClient, z as BitfabOpenAITracingProcessor, zn as Dataset, zr as SUPPORTED_PROVIDERS, zt as LabelTarget } from "./index-C2b7Qyjw.js";
2
2
  export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionVerdict, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, 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 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 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, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type WrapBAMLOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- import { A as SUPPORTED_PROVIDERS, C as BitfabOpenAIAgentHandler, D as LabelsClient, E as BitfabLangGraphCallbackHandler, F as DEFAULT_SERVICE_URL, I as AssertionCategoriesClient, L as CategoriesClient, M as GraderRerunError, N as GraderRerunTimeoutError, O as GradersClient, P as BitfabClaudeAgentHandler, 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 DatasetsClient, k as ExperimentsClient, 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-D1RisoK8.js";
2
- import { S as MixedTracingError, i as flushTraces, t as HttpClient, w as __version__, x as BitfabError } from "./http-C9d2uNjI.js";
1
+ import { A as SUPPORTED_PROVIDERS, C as BitfabOpenAIAgentHandler, D as LabelsClient, E as BitfabLangGraphCallbackHandler, F as DEFAULT_SERVICE_URL, I as AssertionCategoriesClient, L as CategoriesClient, M as GraderRerunError, N as GraderRerunTimeoutError, O as GradersClient, P as BitfabClaudeAgentHandler, 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 DatasetsClient, k as ExperimentsClient, 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-DYCb-06l.js";
2
+ import { S as MixedTracingError, i as flushTraces, t as HttpClient, w as __version__, x as BitfabError } from "./http-DUDL3FGE.js";
3
3
  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, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/node.cjs CHANGED
@@ -2,8 +2,8 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_src = require("./src-gxbiiKid.cjs");
6
- const require_http = require("./http-Cy8I9KDT.cjs");
5
+ const require_src = require("./src-BWZx-C1S.cjs");
6
+ const require_http = require("./http-DX-fpUSu.cjs");
7
7
  const require_autoTrace = require("./autoTrace-CQw0qMBt.cjs");
8
8
  let async_hooks = require("async_hooks");
9
9
  //#region src/asyncStorageNode.ts
package/dist/node.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as AdaptInputsFn, $n as RerunGradersResult, $t as SaveAssertionsAllParams, A as SpanMethodDecoratorContext, An as ExperimentRollupResult, Ar as MockValue, At as ArchiveLabelTarget, B as TraceResponse, Bn as DatasetGraderRef, Br as ReplayNodeIdentity, Bt as LabelUpdate, C as NodeMethodDecorator, Cn as TracesClient, Cr as TokenUsage, Ct as BitfabLangGraphCallbackHandler, D as SeedCaseOptions, Dn as ExperimentJitter, Dr as MockOverrideCtx, Dt as GraderLabelSource, E as ReseedResult, En as ExperimentCodeChangeTotals, Er as MockOverride, Et as GraderLabelOutcome, F as getCurrentSpan, Fn as ExperimentsClient, Fr as MixedTracingError, Ft as LabelConfidence, G as SpanListResult, Gn as GraderRerunProgress, Gr as BamlExecutionResult, Gt as AssertionEvidenceParameter, H as ListedSpan, Hn as DatasetsClient, Hr as SelectiveReplayOptions, Ht as TraceLabels, I as getCurrentTrace, In as ListExperimentsParams, Ir as DbSnapshotConfig, It as LabelOutcome, J as RivetContextLike, Jn as GraderRerunTimeoutError, Jr as ApprovalState, Jt as AssertionGenerationStatus, K as SpansClient, Kn as GraderRerunResult, Kr as ProviderDefinition, Kt as AssertionGeneration, L as CaptureSurface, Ln as AddDatasetGradersResult, Lr as DbSnapshotProvider, Lt as LabelSource, M as WrapBAMLOptions, Mn as ExperimentStatus, Mr as NodeMatcher, Mt as HumanLabelOutcome, N as WrappedBamlFn, Nn as ExperimentTally, Nr as SpanNodeMeta, Nt as HumanLabelUpdate, O as SeedRunOptions, On as ExperimentPage, Or as MockOverrideInput, Ot as GraderLabelUpdate, P as getCurrentReplayBranch, Pn as ExperimentTotals, Pr as BitfabError, Pt as LabelAction, Q as AdaptContext, Qn as RerunGradersOptions, Qr as JustificationSpan, Qt as SaveAssertion, R as ActiveSpanContext, Rn as AddDatasetTracesResult, Rr as DbSnapshotRef, Rt as LabelStatus, S as DetachedTrace, Sn as TraceTargetOccurrence, Sr as SpanType, St as LangGraphIntegrationOptions, T as ReseedOptions, Tn as ExperimentCategoryTally, Tr as DbBranchTimings, Tt as GraderLabel, U as SpanListField, Un as GraderRerun, Ur as SelectiveReplayReport, Ut as Verdict, V as TracingProcessor, Vn as DatasetTraceIds, Vr as SelectiveReplayDecision, Vt as LabelsClient, W as SpanListParams, Wn as GraderRerunError, Wr as AllowedEnvVars, Wt as ArchiveAssertionsParams, X as RivetIntegrationOptions, Xn as RemoveDatasetGradersResult, Xr as Assignee, Xt as AssertionLabelEvidence, Y as RivetEffectType, Yn as ListDatasetsParams, Yr as Approver, Yt as AssertionGenerationTimeoutError, Z as ReplayBranch, Zn as RemoveDatasetTracesResult, Zr as Justification, Zt as GenerateAssertionsOptions, _ as BitfabConfig, _n as TraceAssertionsUpdate, _r as CapturedSpan, _t as ReplayInterruptSignal, a as ReplayRegistryOptions, an as Scenario, ar as VercelCallParams, at as ReplayExperiment, b as CurrentSpan, bn as TraceSearchResult, br as SpanLookup, bt as BitfabOpenAIAgentHandler, c as SeedResult, cn as ScenarioData, cr as BitfabClaudeAgentHandler, ct as ReplayItemStartProgress, d as seedFromRegistry, dn as ScenarioHistoryEntry, dr as AssertionCategorySummary, dt as ReplayProgressItem, en as SaveAssertionsParams, er as SaveDatasetParams, et as BITFAB_PROGRESS_PREFIX, f as finalizers, fn as ScenarioSource, fr as CategoriesClient, ft as ReplayResult, g as Bitfab, gn as TraceAssertionsResult, gr as SaveCategoryParams, gt as ReplayInterrupt, h as CommitRef, hn as TraceAssertionSource, hr as SaveAssertionCategoryParams, ht as serializeReplayResult, i as ReplayRegistryContext, in as SaveScenarioParams, ir as BitfabVercelAiHandler, it as ReplayError, j as SpanOptions, jn as ExperimentRunBy, jr as NO_MOCK_OVERRIDE, jt as AssertionVerdict, k as SpanMethodDecorator, kn as ExperimentRollup, kr as MockOverrideResolver, kt as GradersClient, l as defineReplayRegistry, ln as ScenarioDataAppend, lr as AssertionCategoriesClient, lt as ReplayOptions, m as __version__, mn as TraceAssertion, mr as CategorySummary, mt as reportReplayProgress, n as ReplayRegistration, nn as SaveScenarioData, nr as UpdateDatasetParams, nt as DbBranchReplayError, o as ReseedRegistryResult, on as ScenarioAction, or as VercelGenerateResult, ot as ReplayItem, p as DEFAULT_SERVICE_URL, pn as ScenarioTrigger, pr as Category, pt as TraceIngestionType, q as BitfabRivetIntegration, qn as GraderRerunStatus, qr as ApprovalFields, qt as AssertionGenerationError, r as ReplayRegistry, rn as SaveScenarioHistoryEntry, rr as BitfabLanguageModelMiddleware, rt as MockStrategy, s as SeedCase, sn as ScenarioActualOutcome, sr as VercelStreamResult, st as ReplayItemFinishProgress, t as ReplayOptionsFactory, tn as SaveScenarioActualOutcome, tr as SaveDatasetResult, tt as DbBranchOptions, u as reseedFromRegistry, un as ScenarioDataOrigin, ur as AssertionCategory, ut as ReplayProgress, v as BitfabFunction, vn as TraceSearchFilters, vr as CodeChangeFile, vt as OrganizationMember, w as NodeOptions, wn as Experiment, wr as flushTraces, wt as GetGraderLabelsParams, x as CurrentTrace, xn as TraceTarget, xr as SpanOccurrence, xt as BitfabLangGraphIntegration, y as CaptureWhen, yn as TraceSearchParams, yr as HttpClient, yt as OrganizationMembersClient, z as BitfabOpenAITracingProcessor, zn as Dataset, zr as SUPPORTED_PROVIDERS, zt as LabelTarget } from "./index-w-vRmDmF.cjs";
1
+ import { $ as AdaptInputsFn, $n as RerunGradersResult, $t as SaveAssertionsAllParams, A as SpanMethodDecoratorContext, An as ExperimentRollupResult, Ar as MockValue, At as ArchiveLabelTarget, B as TraceResponse, Bn as DatasetGraderRef, Br as ReplayNodeIdentity, Bt as LabelUpdate, C as NodeMethodDecorator, Cn as TracesClient, Cr as TokenUsage, Ct as BitfabLangGraphCallbackHandler, D as SeedCaseOptions, Dn as ExperimentJitter, Dr as MockOverrideCtx, Dt as GraderLabelSource, E as ReseedResult, En as ExperimentCodeChangeTotals, Er as MockOverride, Et as GraderLabelOutcome, F as getCurrentSpan, Fn as ExperimentsClient, Fr as MixedTracingError, Ft as LabelConfidence, G as SpanListResult, Gn as GraderRerunProgress, Gr as BamlExecutionResult, Gt as AssertionEvidenceParameter, H as ListedSpan, Hn as DatasetsClient, Hr as SelectiveReplayOptions, Ht as TraceLabels, I as getCurrentTrace, In as ListExperimentsParams, Ir as DbSnapshotConfig, It as LabelOutcome, J as RivetContextLike, Jn as GraderRerunTimeoutError, Jr as ApprovalState, Jt as AssertionGenerationStatus, K as SpansClient, Kn as GraderRerunResult, Kr as ProviderDefinition, Kt as AssertionGeneration, L as CaptureSurface, Ln as AddDatasetGradersResult, Lr as DbSnapshotProvider, Lt as LabelSource, M as WrapBAMLOptions, Mn as ExperimentStatus, Mr as NodeMatcher, Mt as HumanLabelOutcome, N as WrappedBamlFn, Nn as ExperimentTally, Nr as SpanNodeMeta, Nt as HumanLabelUpdate, O as SeedRunOptions, On as ExperimentPage, Or as MockOverrideInput, Ot as GraderLabelUpdate, P as getCurrentReplayBranch, Pn as ExperimentTotals, Pr as BitfabError, Pt as LabelAction, Q as AdaptContext, Qn as RerunGradersOptions, Qr as JustificationSpan, Qt as SaveAssertion, R as ActiveSpanContext, Rn as AddDatasetTracesResult, Rr as DbSnapshotRef, Rt as LabelStatus, S as DetachedTrace, Sn as TraceTargetOccurrence, Sr as SpanType, St as LangGraphIntegrationOptions, T as ReseedOptions, Tn as ExperimentCategoryTally, Tr as DbBranchTimings, Tt as GraderLabel, U as SpanListField, Un as GraderRerun, Ur as SelectiveReplayReport, Ut as Verdict, V as TracingProcessor, Vn as DatasetTraceIds, Vr as SelectiveReplayDecision, Vt as LabelsClient, W as SpanListParams, Wn as GraderRerunError, Wr as AllowedEnvVars, Wt as ArchiveAssertionsParams, X as RivetIntegrationOptions, Xn as RemoveDatasetGradersResult, Xr as Assignee, Xt as AssertionLabelEvidence, Y as RivetEffectType, Yn as ListDatasetsParams, Yr as Approver, Yt as AssertionGenerationTimeoutError, Z as ReplayBranch, Zn as RemoveDatasetTracesResult, Zr as Justification, Zt as GenerateAssertionsOptions, _ as BitfabConfig, _n as TraceAssertionsUpdate, _r as CapturedSpan, _t as ReplayInterruptSignal, a as ReplayRegistryOptions, an as Scenario, ar as VercelCallParams, at as ReplayExperiment, b as CurrentSpan, bn as TraceSearchResult, br as SpanLookup, bt as BitfabOpenAIAgentHandler, c as SeedResult, cn as ScenarioData, cr as BitfabClaudeAgentHandler, ct as ReplayItemStartProgress, d as seedFromRegistry, dn as ScenarioHistoryEntry, dr as AssertionCategorySummary, dt as ReplayProgressItem, en as SaveAssertionsParams, er as SaveDatasetParams, et as BITFAB_PROGRESS_PREFIX, f as finalizers, fn as ScenarioSource, fr as CategoriesClient, ft as ReplayResult, g as Bitfab, gn as TraceAssertionsResult, gr as SaveCategoryParams, gt as ReplayInterrupt, h as CommitRef, hn as TraceAssertionSource, hr as SaveAssertionCategoryParams, ht as serializeReplayResult, i as ReplayRegistryContext, in as SaveScenarioParams, ir as BitfabVercelAiHandler, it as ReplayError, j as SpanOptions, jn as ExperimentRunBy, jr as NO_MOCK_OVERRIDE, jt as AssertionVerdict, k as SpanMethodDecorator, kn as ExperimentRollup, kr as MockOverrideResolver, kt as GradersClient, l as defineReplayRegistry, ln as ScenarioDataAppend, lr as AssertionCategoriesClient, lt as ReplayOptions, m as __version__, mn as TraceAssertion, mr as CategorySummary, mt as reportReplayProgress, n as ReplayRegistration, nn as SaveScenarioData, nr as UpdateDatasetParams, nt as DbBranchReplayError, o as ReseedRegistryResult, on as ScenarioAction, or as VercelGenerateResult, ot as ReplayItem, p as DEFAULT_SERVICE_URL, pn as ScenarioTrigger, pr as Category, pt as TraceIngestionType, q as BitfabRivetIntegration, qn as GraderRerunStatus, qr as ApprovalFields, qt as AssertionGenerationError, r as ReplayRegistry, rn as SaveScenarioHistoryEntry, rr as BitfabLanguageModelMiddleware, rt as MockStrategy, s as SeedCase, sn as ScenarioActualOutcome, sr as VercelStreamResult, st as ReplayItemFinishProgress, t as ReplayOptionsFactory, tn as SaveScenarioActualOutcome, tr as SaveDatasetResult, tt as DbBranchOptions, u as reseedFromRegistry, un as ScenarioDataOrigin, ur as AssertionCategory, ut as ReplayProgress, v as BitfabFunction, vn as TraceSearchFilters, vr as CodeChangeFile, vt as OrganizationMember, w as NodeOptions, wn as Experiment, wr as flushTraces, wt as GetGraderLabelsParams, x as CurrentTrace, xn as TraceTarget, xr as SpanOccurrence, xt as BitfabLangGraphIntegration, y as CaptureWhen, yn as TraceSearchParams, yr as HttpClient, yt as OrganizationMembersClient, z as BitfabOpenAITracingProcessor, zn as Dataset, zr as SUPPORTED_PROVIDERS, zt as LabelTarget } from "./index-C2b7Qyjw.cjs";
2
2
  export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionVerdict, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, 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 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 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, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type WrapBAMLOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/node.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as AdaptInputsFn, $n as RerunGradersResult, $t as SaveAssertionsAllParams, A as SpanMethodDecoratorContext, An as ExperimentRollupResult, Ar as MockValue, At as ArchiveLabelTarget, B as TraceResponse, Bn as DatasetGraderRef, Br as ReplayNodeIdentity, Bt as LabelUpdate, C as NodeMethodDecorator, Cn as TracesClient, Cr as TokenUsage, Ct as BitfabLangGraphCallbackHandler, D as SeedCaseOptions, Dn as ExperimentJitter, Dr as MockOverrideCtx, Dt as GraderLabelSource, E as ReseedResult, En as ExperimentCodeChangeTotals, Er as MockOverride, Et as GraderLabelOutcome, F as getCurrentSpan, Fn as ExperimentsClient, Fr as MixedTracingError, Ft as LabelConfidence, G as SpanListResult, Gn as GraderRerunProgress, Gr as BamlExecutionResult, Gt as AssertionEvidenceParameter, H as ListedSpan, Hn as DatasetsClient, Hr as SelectiveReplayOptions, Ht as TraceLabels, I as getCurrentTrace, In as ListExperimentsParams, Ir as DbSnapshotConfig, It as LabelOutcome, J as RivetContextLike, Jn as GraderRerunTimeoutError, Jr as ApprovalState, Jt as AssertionGenerationStatus, K as SpansClient, Kn as GraderRerunResult, Kr as ProviderDefinition, Kt as AssertionGeneration, L as CaptureSurface, Ln as AddDatasetGradersResult, Lr as DbSnapshotProvider, Lt as LabelSource, M as WrapBAMLOptions, Mn as ExperimentStatus, Mr as NodeMatcher, Mt as HumanLabelOutcome, N as WrappedBamlFn, Nn as ExperimentTally, Nr as SpanNodeMeta, Nt as HumanLabelUpdate, O as SeedRunOptions, On as ExperimentPage, Or as MockOverrideInput, Ot as GraderLabelUpdate, P as getCurrentReplayBranch, Pn as ExperimentTotals, Pr as BitfabError, Pt as LabelAction, Q as AdaptContext, Qn as RerunGradersOptions, Qr as JustificationSpan, Qt as SaveAssertion, R as ActiveSpanContext, Rn as AddDatasetTracesResult, Rr as DbSnapshotRef, Rt as LabelStatus, S as DetachedTrace, Sn as TraceTargetOccurrence, Sr as SpanType, St as LangGraphIntegrationOptions, T as ReseedOptions, Tn as ExperimentCategoryTally, Tr as DbBranchTimings, Tt as GraderLabel, U as SpanListField, Un as GraderRerun, Ur as SelectiveReplayReport, Ut as Verdict, V as TracingProcessor, Vn as DatasetTraceIds, Vr as SelectiveReplayDecision, Vt as LabelsClient, W as SpanListParams, Wn as GraderRerunError, Wr as AllowedEnvVars, Wt as ArchiveAssertionsParams, X as RivetIntegrationOptions, Xn as RemoveDatasetGradersResult, Xr as Assignee, Xt as AssertionLabelEvidence, Y as RivetEffectType, Yn as ListDatasetsParams, Yr as Approver, Yt as AssertionGenerationTimeoutError, Z as ReplayBranch, Zn as RemoveDatasetTracesResult, Zr as Justification, Zt as GenerateAssertionsOptions, _ as BitfabConfig, _n as TraceAssertionsUpdate, _r as CapturedSpan, _t as ReplayInterruptSignal, a as ReplayRegistryOptions, an as Scenario, ar as VercelCallParams, at as ReplayExperiment, b as CurrentSpan, bn as TraceSearchResult, br as SpanLookup, bt as BitfabOpenAIAgentHandler, c as SeedResult, cn as ScenarioData, cr as BitfabClaudeAgentHandler, ct as ReplayItemStartProgress, d as seedFromRegistry, dn as ScenarioHistoryEntry, dr as AssertionCategorySummary, dt as ReplayProgressItem, en as SaveAssertionsParams, er as SaveDatasetParams, et as BITFAB_PROGRESS_PREFIX, f as finalizers, fn as ScenarioSource, fr as CategoriesClient, ft as ReplayResult, g as Bitfab, gn as TraceAssertionsResult, gr as SaveCategoryParams, gt as ReplayInterrupt, h as CommitRef, hn as TraceAssertionSource, hr as SaveAssertionCategoryParams, ht as serializeReplayResult, i as ReplayRegistryContext, in as SaveScenarioParams, ir as BitfabVercelAiHandler, it as ReplayError, j as SpanOptions, jn as ExperimentRunBy, jr as NO_MOCK_OVERRIDE, jt as AssertionVerdict, k as SpanMethodDecorator, kn as ExperimentRollup, kr as MockOverrideResolver, kt as GradersClient, l as defineReplayRegistry, ln as ScenarioDataAppend, lr as AssertionCategoriesClient, lt as ReplayOptions, m as __version__, mn as TraceAssertion, mr as CategorySummary, mt as reportReplayProgress, n as ReplayRegistration, nn as SaveScenarioData, nr as UpdateDatasetParams, nt as DbBranchReplayError, o as ReseedRegistryResult, on as ScenarioAction, or as VercelGenerateResult, ot as ReplayItem, p as DEFAULT_SERVICE_URL, pn as ScenarioTrigger, pr as Category, pt as TraceIngestionType, q as BitfabRivetIntegration, qn as GraderRerunStatus, qr as ApprovalFields, qt as AssertionGenerationError, r as ReplayRegistry, rn as SaveScenarioHistoryEntry, rr as BitfabLanguageModelMiddleware, rt as MockStrategy, s as SeedCase, sn as ScenarioActualOutcome, sr as VercelStreamResult, st as ReplayItemFinishProgress, t as ReplayOptionsFactory, tn as SaveScenarioActualOutcome, tr as SaveDatasetResult, tt as DbBranchOptions, u as reseedFromRegistry, un as ScenarioDataOrigin, ur as AssertionCategory, ut as ReplayProgress, v as BitfabFunction, vn as TraceSearchFilters, vr as CodeChangeFile, vt as OrganizationMember, w as NodeOptions, wn as Experiment, wr as flushTraces, wt as GetGraderLabelsParams, x as CurrentTrace, xn as TraceTarget, xr as SpanOccurrence, xt as BitfabLangGraphIntegration, y as CaptureWhen, yn as TraceSearchParams, yr as HttpClient, yt as OrganizationMembersClient, z as BitfabOpenAITracingProcessor, zn as Dataset, zr as SUPPORTED_PROVIDERS, zt as LabelTarget } from "./index-w-vRmDmF.js";
1
+ import { $ as AdaptInputsFn, $n as RerunGradersResult, $t as SaveAssertionsAllParams, A as SpanMethodDecoratorContext, An as ExperimentRollupResult, Ar as MockValue, At as ArchiveLabelTarget, B as TraceResponse, Bn as DatasetGraderRef, Br as ReplayNodeIdentity, Bt as LabelUpdate, C as NodeMethodDecorator, Cn as TracesClient, Cr as TokenUsage, Ct as BitfabLangGraphCallbackHandler, D as SeedCaseOptions, Dn as ExperimentJitter, Dr as MockOverrideCtx, Dt as GraderLabelSource, E as ReseedResult, En as ExperimentCodeChangeTotals, Er as MockOverride, Et as GraderLabelOutcome, F as getCurrentSpan, Fn as ExperimentsClient, Fr as MixedTracingError, Ft as LabelConfidence, G as SpanListResult, Gn as GraderRerunProgress, Gr as BamlExecutionResult, Gt as AssertionEvidenceParameter, H as ListedSpan, Hn as DatasetsClient, Hr as SelectiveReplayOptions, Ht as TraceLabels, I as getCurrentTrace, In as ListExperimentsParams, Ir as DbSnapshotConfig, It as LabelOutcome, J as RivetContextLike, Jn as GraderRerunTimeoutError, Jr as ApprovalState, Jt as AssertionGenerationStatus, K as SpansClient, Kn as GraderRerunResult, Kr as ProviderDefinition, Kt as AssertionGeneration, L as CaptureSurface, Ln as AddDatasetGradersResult, Lr as DbSnapshotProvider, Lt as LabelSource, M as WrapBAMLOptions, Mn as ExperimentStatus, Mr as NodeMatcher, Mt as HumanLabelOutcome, N as WrappedBamlFn, Nn as ExperimentTally, Nr as SpanNodeMeta, Nt as HumanLabelUpdate, O as SeedRunOptions, On as ExperimentPage, Or as MockOverrideInput, Ot as GraderLabelUpdate, P as getCurrentReplayBranch, Pn as ExperimentTotals, Pr as BitfabError, Pt as LabelAction, Q as AdaptContext, Qn as RerunGradersOptions, Qr as JustificationSpan, Qt as SaveAssertion, R as ActiveSpanContext, Rn as AddDatasetTracesResult, Rr as DbSnapshotRef, Rt as LabelStatus, S as DetachedTrace, Sn as TraceTargetOccurrence, Sr as SpanType, St as LangGraphIntegrationOptions, T as ReseedOptions, Tn as ExperimentCategoryTally, Tr as DbBranchTimings, Tt as GraderLabel, U as SpanListField, Un as GraderRerun, Ur as SelectiveReplayReport, Ut as Verdict, V as TracingProcessor, Vn as DatasetTraceIds, Vr as SelectiveReplayDecision, Vt as LabelsClient, W as SpanListParams, Wn as GraderRerunError, Wr as AllowedEnvVars, Wt as ArchiveAssertionsParams, X as RivetIntegrationOptions, Xn as RemoveDatasetGradersResult, Xr as Assignee, Xt as AssertionLabelEvidence, Y as RivetEffectType, Yn as ListDatasetsParams, Yr as Approver, Yt as AssertionGenerationTimeoutError, Z as ReplayBranch, Zn as RemoveDatasetTracesResult, Zr as Justification, Zt as GenerateAssertionsOptions, _ as BitfabConfig, _n as TraceAssertionsUpdate, _r as CapturedSpan, _t as ReplayInterruptSignal, a as ReplayRegistryOptions, an as Scenario, ar as VercelCallParams, at as ReplayExperiment, b as CurrentSpan, bn as TraceSearchResult, br as SpanLookup, bt as BitfabOpenAIAgentHandler, c as SeedResult, cn as ScenarioData, cr as BitfabClaudeAgentHandler, ct as ReplayItemStartProgress, d as seedFromRegistry, dn as ScenarioHistoryEntry, dr as AssertionCategorySummary, dt as ReplayProgressItem, en as SaveAssertionsParams, er as SaveDatasetParams, et as BITFAB_PROGRESS_PREFIX, f as finalizers, fn as ScenarioSource, fr as CategoriesClient, ft as ReplayResult, g as Bitfab, gn as TraceAssertionsResult, gr as SaveCategoryParams, gt as ReplayInterrupt, h as CommitRef, hn as TraceAssertionSource, hr as SaveAssertionCategoryParams, ht as serializeReplayResult, i as ReplayRegistryContext, in as SaveScenarioParams, ir as BitfabVercelAiHandler, it as ReplayError, j as SpanOptions, jn as ExperimentRunBy, jr as NO_MOCK_OVERRIDE, jt as AssertionVerdict, k as SpanMethodDecorator, kn as ExperimentRollup, kr as MockOverrideResolver, kt as GradersClient, l as defineReplayRegistry, ln as ScenarioDataAppend, lr as AssertionCategoriesClient, lt as ReplayOptions, m as __version__, mn as TraceAssertion, mr as CategorySummary, mt as reportReplayProgress, n as ReplayRegistration, nn as SaveScenarioData, nr as UpdateDatasetParams, nt as DbBranchReplayError, o as ReseedRegistryResult, on as ScenarioAction, or as VercelGenerateResult, ot as ReplayItem, p as DEFAULT_SERVICE_URL, pn as ScenarioTrigger, pr as Category, pt as TraceIngestionType, q as BitfabRivetIntegration, qn as GraderRerunStatus, qr as ApprovalFields, qt as AssertionGenerationError, r as ReplayRegistry, rn as SaveScenarioHistoryEntry, rr as BitfabLanguageModelMiddleware, rt as MockStrategy, s as SeedCase, sn as ScenarioActualOutcome, sr as VercelStreamResult, st as ReplayItemFinishProgress, t as ReplayOptionsFactory, tn as SaveScenarioActualOutcome, tr as SaveDatasetResult, tt as DbBranchOptions, u as reseedFromRegistry, un as ScenarioDataOrigin, ur as AssertionCategory, ut as ReplayProgress, v as BitfabFunction, vn as TraceSearchFilters, vr as CodeChangeFile, vt as OrganizationMember, w as NodeOptions, wn as Experiment, wr as flushTraces, wt as GetGraderLabelsParams, x as CurrentTrace, xn as TraceTarget, xr as SpanOccurrence, xt as BitfabLangGraphIntegration, y as CaptureWhen, yn as TraceSearchParams, yr as HttpClient, yt as OrganizationMembersClient, z as BitfabOpenAITracingProcessor, zn as Dataset, zr as SUPPORTED_PROVIDERS, zt as LabelTarget } from "./index-C2b7Qyjw.js";
2
2
  export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, type ArchiveLabelTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionVerdict, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GetGraderLabelsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, 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 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 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, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type WrapBAMLOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
package/dist/node.js CHANGED
@@ -1,5 +1,5 @@
1
- import { A as SUPPORTED_PROVIDERS, C as BitfabOpenAIAgentHandler, D as LabelsClient, E as BitfabLangGraphCallbackHandler, F as DEFAULT_SERVICE_URL, I as AssertionCategoriesClient, L as CategoriesClient, M as GraderRerunError, N as GraderRerunTimeoutError, O as GradersClient, P as BitfabClaudeAgentHandler, 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 DatasetsClient, k as ExperimentsClient, 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-D1RisoK8.js";
2
- import { S as MixedTracingError, i as flushTraces, t as HttpClient, w as __version__, x as BitfabError } from "./http-C9d2uNjI.js";
1
+ import { A as SUPPORTED_PROVIDERS, C as BitfabOpenAIAgentHandler, D as LabelsClient, E as BitfabLangGraphCallbackHandler, F as DEFAULT_SERVICE_URL, I as AssertionCategoriesClient, L as CategoriesClient, M as GraderRerunError, N as GraderRerunTimeoutError, O as GradersClient, P as BitfabClaudeAgentHandler, 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 DatasetsClient, k as ExperimentsClient, 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-DYCb-06l.js";
2
+ import { S as MixedTracingError, i as flushTraces, t as HttpClient, w as __version__, x as BitfabError } from "./http-DUDL3FGE.js";
3
3
  import { _ as assertAsyncStorageRegistered, x as registerAsyncLocalStorageClass } from "./autoTrace-O40k8f5M.js";
4
4
  import { AsyncLocalStorage } from "async_hooks";
5
5
  //#region src/asyncStorageNode.ts
@@ -1,5 +1,5 @@
1
1
  const require_bamlPeer = require("./bamlPeer-BUoZgNxZ.cjs");
2
- const require_http = require("./http-Cy8I9KDT.cjs");
2
+ const require_http = require("./http-DX-fpUSu.cjs");
3
3
  const require_autoTrace = require("./autoTrace-CQw0qMBt.cjs");
4
4
  let superjson = require("superjson");
5
5
  superjson = require_bamlPeer.__toESM(superjson, 1);
@@ -2060,6 +2060,7 @@ var OrganizationMembersClient = class {
2060
2060
  const MAX_FILES = 60;
2061
2061
  const MAX_FILE_BYTES = 5e5;
2062
2062
  const MAX_TOTAL_BYTES = 2e6;
2063
+ const MAX_BRANCH_WALK = 1e3;
2063
2064
  const NUL = String.fromCharCode(0);
2064
2065
  async function resolveAutoCodeChange(label) {
2065
2066
  if (typeof process === "undefined") return null;
@@ -2101,8 +2102,17 @@ async function captureCodeChangeFromGit(cwd, label) {
2101
2102
  try {
2102
2103
  const root = (await git(cwd, ["rev-parse", "--show-toplevel"]))?.trim();
2103
2104
  if (!root) return null;
2104
- const resolved = await resolveBase(git, root);
2105
+ let resolved = await resolveBase(git, root);
2105
2106
  if (!resolved) return null;
2107
+ let entries = await listChanges(git, root, resolved.base);
2108
+ if (entries.length === 0 && resolved.base === "HEAD") {
2109
+ const branchPoint = await resolveBranchPoint(git, root);
2110
+ if (branchPoint) {
2111
+ resolved = branchPoint;
2112
+ entries = await listChanges(git, root, branchPoint.base);
2113
+ }
2114
+ }
2115
+ if (entries.length === 0) return null;
2106
2116
  const { base, against } = resolved;
2107
2117
  const blobBytes = async (ref, path) => {
2108
2118
  const out = await git(root, [
@@ -2122,29 +2132,6 @@ async function captureCodeChangeFromGit(cwd, label) {
2122
2132
  return 0;
2123
2133
  }
2124
2134
  };
2125
- const tracked = await git(root, [
2126
- "diff",
2127
- "--name-status",
2128
- "--find-renames",
2129
- "-z",
2130
- base,
2131
- "--",
2132
- ":!.bitfab"
2133
- ]);
2134
- const untracked = await git(root, [
2135
- "ls-files",
2136
- "--others",
2137
- "--exclude-standard",
2138
- "-z",
2139
- "--",
2140
- ":!.bitfab"
2141
- ]);
2142
- const entries = [...parseNameStatusZ(tracked ?? ""), ...(untracked ?? "").split(NUL).filter((p) => p.length > 0).map((path) => ({
2143
- status: "A",
2144
- beforePath: path,
2145
- path
2146
- }))];
2147
- if (entries.length === 0) return null;
2148
2135
  const files = [];
2149
2136
  let totalBytes = 0;
2150
2137
  for (const { status, beforePath, path } of entries) {
@@ -2180,6 +2167,129 @@ async function captureCodeChangeFromGit(cwd, label) {
2180
2167
  return null;
2181
2168
  }
2182
2169
  }
2170
+ async function listChanges(git, root, base) {
2171
+ const tracked = await git(root, [
2172
+ "diff",
2173
+ "--name-status",
2174
+ "--find-renames",
2175
+ "-z",
2176
+ base,
2177
+ "--",
2178
+ ":!.bitfab"
2179
+ ]);
2180
+ const untracked = await git(root, [
2181
+ "ls-files",
2182
+ "--others",
2183
+ "--exclude-standard",
2184
+ "-z",
2185
+ "--",
2186
+ ":!.bitfab"
2187
+ ]);
2188
+ return [...parseNameStatusZ(tracked ?? ""), ...(untracked ?? "").split(NUL).filter((p) => p.length > 0).map((path) => ({
2189
+ status: "A",
2190
+ beforePath: path,
2191
+ path
2192
+ }))];
2193
+ }
2194
+ async function defaultBranchCandidates(git, root) {
2195
+ const originHead = (await git(root, [
2196
+ "rev-parse",
2197
+ "--abbrev-ref",
2198
+ "origin/HEAD"
2199
+ ]))?.trim();
2200
+ const candidates = [
2201
+ originHead && originHead !== "origin/HEAD" ? originHead : null,
2202
+ "origin/main",
2203
+ "origin/master",
2204
+ "main",
2205
+ "master"
2206
+ ].filter((ref) => !!ref);
2207
+ return [...new Set(candidates)];
2208
+ }
2209
+ async function resolveDefaultBranch(git, root) {
2210
+ for (const ref of await defaultBranchCandidates(git, root)) if (await refExists(git, root, ref)) return ref;
2211
+ return null;
2212
+ }
2213
+ async function currentBranchRefs(git, root) {
2214
+ const branch = (await git(root, [
2215
+ "symbolic-ref",
2216
+ "--short",
2217
+ "-q",
2218
+ "HEAD"
2219
+ ]))?.trim();
2220
+ const refs = /* @__PURE__ */ new Set();
2221
+ if (branch) {
2222
+ refs.add(`refs/heads/${branch}`);
2223
+ const remotes = (await git(root, ["remote"]))?.split(/\s+/) ?? [];
2224
+ for (const remote of remotes.filter((r) => r.length > 0)) refs.add(`refs/remotes/${remote}/${branch}`);
2225
+ }
2226
+ return refs;
2227
+ }
2228
+ async function ownBranchRefs(git, root) {
2229
+ const upstream = (await git(root, [
2230
+ "rev-parse",
2231
+ "--symbolic-full-name",
2232
+ "@{upstream}"
2233
+ ]))?.trim();
2234
+ const own = await currentBranchRefs(git, root);
2235
+ if (upstream) own.add(upstream);
2236
+ return own;
2237
+ }
2238
+ async function isOnDefaultBranch(git, root, defaultBranch) {
2239
+ const fullName = (await git(root, [
2240
+ "rev-parse",
2241
+ "--symbolic-full-name",
2242
+ defaultBranch
2243
+ ]))?.trim();
2244
+ return !!fullName && (await currentBranchRefs(git, root)).has(fullName);
2245
+ }
2246
+ async function branchTips(git, root) {
2247
+ const own = await ownBranchRefs(git, root);
2248
+ const listing = await git(root, [
2249
+ "for-each-ref",
2250
+ "--format=%(objectname) %(refname)",
2251
+ "refs/heads",
2252
+ "refs/remotes"
2253
+ ]);
2254
+ const tips = /* @__PURE__ */ new Map();
2255
+ for (const line of (listing ?? "").split("\n")) {
2256
+ const [sha, ref] = line.trim().split(" ");
2257
+ if (!ref || own.has(ref) || ref.endsWith("/HEAD") || tips.has(sha)) continue;
2258
+ tips.set(sha, ref.replace(/^refs\/(heads|remotes)\//, ""));
2259
+ }
2260
+ return tips;
2261
+ }
2262
+ async function resolveBranchPoint(git, root) {
2263
+ const head = (await git(root, ["rev-parse", "HEAD"]))?.trim();
2264
+ if (!head) return null;
2265
+ const defaultBranch = await resolveDefaultBranch(git, root);
2266
+ if (defaultBranch && await isOnDefaultBranch(git, root, defaultBranch)) return null;
2267
+ const defaultBase = defaultBranch ? (await git(root, [
2268
+ "merge-base",
2269
+ "HEAD",
2270
+ defaultBranch
2271
+ ]))?.trim() : void 0;
2272
+ const walk = [
2273
+ "rev-list",
2274
+ "--first-parent",
2275
+ `--max-count=${MAX_BRANCH_WALK}`,
2276
+ "HEAD",
2277
+ ...defaultBase ? [`^${defaultBase}`] : []
2278
+ ];
2279
+ const tips = await branchTips(git, root);
2280
+ const history = (await git(root, walk) ?? "").split(/\s+/).filter(Boolean);
2281
+ for (const sha of history.slice(1)) {
2282
+ const name = tips.get(sha);
2283
+ if (name) return {
2284
+ base: sha,
2285
+ against: `vs ${name}`
2286
+ };
2287
+ }
2288
+ return defaultBase && defaultBase !== head ? {
2289
+ base: defaultBase,
2290
+ against: `vs ${defaultBranch}`
2291
+ } : null;
2292
+ }
2183
2293
  async function resolveBase(git, root) {
2184
2294
  const forced = process.env?.BITFAB_CODE_CHANGE_BASE;
2185
2295
  if (forced && await refExists(git, root, forced)) {
@@ -5798,7 +5908,7 @@ var Bitfab = class {
5798
5908
  await runWithSeedContext({ traceId }, async () => target(...args));
5799
5909
  } finally {
5800
5910
  try {
5801
- const { flushTraces } = await Promise.resolve().then(() => require("./http-Cy8I9KDT.cjs")).then((n) => n.http_exports);
5911
+ const { flushTraces } = await Promise.resolve().then(() => require("./http-DX-fpUSu.cjs")).then((n) => n.http_exports);
5802
5912
  await flushTraces(3e4);
5803
5913
  } finally {
5804
5914
  unrecorded = activeTraceStates.delete(traceId);
@@ -5986,7 +6096,7 @@ async function seedFromRegistry(registry, pipeline, cases, options = {}) {
5986
6096
  metadata: seedCase.metadata,
5987
6097
  sessionId: seedCase.sessionId
5988
6098
  }));
5989
- const { flushTraces } = await Promise.resolve().then(() => require("./http-Cy8I9KDT.cjs")).then((n) => n.http_exports);
6099
+ const { flushTraces } = await Promise.resolve().then(() => require("./http-DX-fpUSu.cjs")).then((n) => n.http_exports);
5990
6100
  await flushTraces(3e4);
5991
6101
  return {
5992
6102
  pipeline,
@@ -6224,4 +6334,4 @@ Object.defineProperty(exports, "serializeReplayResult", {
6224
6334
  }
6225
6335
  });
6226
6336
 
6227
- //# sourceMappingURL=src-gxbiiKid.cjs.map
6337
+ //# sourceMappingURL=src-BWZx-C1S.cjs.map