@bitfab/sdk 0.76.0 → 0.76.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{http-DeWpv44r.js → http-DS1QjBvx.js} +2 -2
- package/dist/{http-DeWpv44r.js.map → http-DS1QjBvx.js.map} +1 -1
- package/dist/{http-CWOvmnGL.cjs → http-ykHGNcju.cjs} +2 -2
- package/dist/{http-CWOvmnGL.cjs.map → http-ykHGNcju.cjs.map} +1 -1
- package/dist/{index-Dx3MwCB4.d.cts → index-BYv4DSsY.d.cts} +24 -1
- package/dist/{index-Dx3MwCB4.d.ts → index-BYv4DSsY.d.ts} +24 -1
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/node.cjs +2 -2
- package/dist/node.d.cts +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/node.js +2 -2
- package/dist/registryCommand-D1VgfJjC.js.map +1 -1
- package/dist/{src-CFD_cP43.js → src-BJjbR3Nq.js} +12 -4
- package/dist/{src-CFD_cP43.js.map → src-BJjbR3Nq.js.map} +1 -1
- package/dist/{src-CxsswRYd.cjs → src-CLkegn-P.cjs} +12 -4
- package/dist/{src-CxsswRYd.cjs.map → src-CLkegn-P.cjs.map} +1 -1
- package/package.json +1 -1
|
@@ -4159,6 +4159,13 @@ interface CurrentSpan {
|
|
|
4159
4159
|
readonly id: string;
|
|
4160
4160
|
/** The trace ID for the current span. */
|
|
4161
4161
|
readonly traceId: string;
|
|
4162
|
+
/**
|
|
4163
|
+
* The keys of every trace function running at this point, outermost first,
|
|
4164
|
+
* each listed once. A trace function called inside another one comes after
|
|
4165
|
+
* it, including a `withTrace` root that started its own trace, so a cost
|
|
4166
|
+
* recorded here can be counted toward each of them. Empty outside a trace.
|
|
4167
|
+
*/
|
|
4168
|
+
readonly traceFunctionKeys: readonly string[];
|
|
4162
4169
|
/**
|
|
4163
4170
|
* Add a context entry to this span. Each call appends to the contexts array.
|
|
4164
4171
|
* Context entries are stored in span_data.contexts as [{key, value}, ...].
|
|
@@ -4210,6 +4217,14 @@ interface DetachedTrace {
|
|
|
4210
4217
|
* A handle to the current active trace, allowing trace-level context to be set.
|
|
4211
4218
|
*/
|
|
4212
4219
|
interface CurrentTrace {
|
|
4220
|
+
/**
|
|
4221
|
+
* The key of the trace function the current trace is stored under: the one
|
|
4222
|
+
* that started it. A `withSpan` or `getFunction` call inside another trace
|
|
4223
|
+
* function joins that trace, so it reports the outer key. A `withTrace` root
|
|
4224
|
+
* inside another root starts its own trace, so it reports its own key. Empty
|
|
4225
|
+
* string outside a trace.
|
|
4226
|
+
*/
|
|
4227
|
+
readonly traceFunctionKey: string;
|
|
4213
4228
|
/**
|
|
4214
4229
|
* Set the session ID for this trace. Stored in the database session_id column.
|
|
4215
4230
|
*/
|
|
@@ -4237,6 +4252,14 @@ interface CurrentTrace {
|
|
|
4237
4252
|
*/
|
|
4238
4253
|
drop(): void;
|
|
4239
4254
|
}
|
|
4255
|
+
/**
|
|
4256
|
+
* Get a handle to the current active span.
|
|
4257
|
+
*
|
|
4258
|
+
* Call this from inside a traced function (wrapped with `withSpan`) to get
|
|
4259
|
+
* a span handle that allows adding context at runtime.
|
|
4260
|
+
*
|
|
4261
|
+
* Returns a no-op object if called outside of a span context (methods do nothing).
|
|
4262
|
+
*/
|
|
4240
4263
|
declare function getCurrentSpan(): CurrentSpan;
|
|
4241
4264
|
/**
|
|
4242
4265
|
* Get the database branch the current replay item is running against.
|
|
@@ -5671,7 +5694,7 @@ interface CommitRef {
|
|
|
5671
5694
|
/**
|
|
5672
5695
|
* SDK version from package.json (injected at build time)
|
|
5673
5696
|
*/
|
|
5674
|
-
declare const __version__ = "0.76.
|
|
5697
|
+
declare const __version__ = "0.76.1";
|
|
5675
5698
|
//#endregion
|
|
5676
5699
|
//#region src/constants.d.ts
|
|
5677
5700
|
/**
|
|
@@ -4159,6 +4159,13 @@ interface CurrentSpan {
|
|
|
4159
4159
|
readonly id: string;
|
|
4160
4160
|
/** The trace ID for the current span. */
|
|
4161
4161
|
readonly traceId: string;
|
|
4162
|
+
/**
|
|
4163
|
+
* The keys of every trace function running at this point, outermost first,
|
|
4164
|
+
* each listed once. A trace function called inside another one comes after
|
|
4165
|
+
* it, including a `withTrace` root that started its own trace, so a cost
|
|
4166
|
+
* recorded here can be counted toward each of them. Empty outside a trace.
|
|
4167
|
+
*/
|
|
4168
|
+
readonly traceFunctionKeys: readonly string[];
|
|
4162
4169
|
/**
|
|
4163
4170
|
* Add a context entry to this span. Each call appends to the contexts array.
|
|
4164
4171
|
* Context entries are stored in span_data.contexts as [{key, value}, ...].
|
|
@@ -4210,6 +4217,14 @@ interface DetachedTrace {
|
|
|
4210
4217
|
* A handle to the current active trace, allowing trace-level context to be set.
|
|
4211
4218
|
*/
|
|
4212
4219
|
interface CurrentTrace {
|
|
4220
|
+
/**
|
|
4221
|
+
* The key of the trace function the current trace is stored under: the one
|
|
4222
|
+
* that started it. A `withSpan` or `getFunction` call inside another trace
|
|
4223
|
+
* function joins that trace, so it reports the outer key. A `withTrace` root
|
|
4224
|
+
* inside another root starts its own trace, so it reports its own key. Empty
|
|
4225
|
+
* string outside a trace.
|
|
4226
|
+
*/
|
|
4227
|
+
readonly traceFunctionKey: string;
|
|
4213
4228
|
/**
|
|
4214
4229
|
* Set the session ID for this trace. Stored in the database session_id column.
|
|
4215
4230
|
*/
|
|
@@ -4237,6 +4252,14 @@ interface CurrentTrace {
|
|
|
4237
4252
|
*/
|
|
4238
4253
|
drop(): void;
|
|
4239
4254
|
}
|
|
4255
|
+
/**
|
|
4256
|
+
* Get a handle to the current active span.
|
|
4257
|
+
*
|
|
4258
|
+
* Call this from inside a traced function (wrapped with `withSpan`) to get
|
|
4259
|
+
* a span handle that allows adding context at runtime.
|
|
4260
|
+
*
|
|
4261
|
+
* Returns a no-op object if called outside of a span context (methods do nothing).
|
|
4262
|
+
*/
|
|
4240
4263
|
declare function getCurrentSpan(): CurrentSpan;
|
|
4241
4264
|
/**
|
|
4242
4265
|
* Get the database branch the current replay item is running against.
|
|
@@ -5671,7 +5694,7 @@ interface CommitRef {
|
|
|
5671
5694
|
/**
|
|
5672
5695
|
* SDK version from package.json (injected at build time)
|
|
5673
5696
|
*/
|
|
5674
|
-
declare const __version__ = "0.76.
|
|
5697
|
+
declare const __version__ = "0.76.1";
|
|
5675
5698
|
//#endregion
|
|
5676
5699
|
//#region src/constants.d.ts
|
|
5677
5700
|
/**
|
package/dist/index.cjs
CHANGED
|
@@ -2,8 +2,8 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_src = require("./src-
|
|
6
|
-
const require_http = require("./http-
|
|
5
|
+
const require_src = require("./src-CLkegn-P.cjs");
|
|
6
|
+
const require_http = require("./http-ykHGNcju.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 SpanListResult, $n as ScenarioGeneration, $r as BitfabLanguageModelMiddleware, $t as HumanVerdictUpdate, A as SpanMethodDecoratorContext, Ai as BitfabError, An as AssertionKind, Ar as ExperimentTotals, At as BitfabOpenAIAgentHandler, B as WrapOpenRouterOptions, Bi as AllowedEnvVars, Bn as SaveScenarioActualOutcome, Br as GraderRerunError, Bt as GraderLabelSource, C as NodeMethodDecorator, Ci as MockOverrideCtx, Cn as AssertionCode, Cr as ExperimentStatus, Ct as serializeReplayResult, D as SeedCaseOptions, Di as NO_MOCK_OVERRIDE, Dn as AssertionGenerationError, Dr as ExperimentSummaryFacts, Dt as PiIntegrationOptions, E as ReseedResult, Ei as MockValue, En as AssertionGeneration, Er as ExperimentSummaryExampleTrace, Et as BitfabPiIntegration, F as WrapJevOptions, Fi as SUPPORTED_PROVIDERS, Fn as GenerateAssertionsOptions, Fr as Dataset, Ft as BitfabLangGraphCallbackHandler, G as CaptureSurface, Gi as Approver, Gn as Scenario, Gr as ListDatasetsParams, Gt as GraderVerdictUpdate, H as getCurrentReplayBranch, Hi as ProviderDefinition, Hn as SaveScenarioHistoryEntry, Hr as GraderRerunResult, Ht as GraderVerdict, I as WrapOpenAIChatOptions, Ii as ReplayNodeIdentity, In as GenerateScenarioOptions, Ir as DatasetGraderRef, It as GetGraderLabelsParams, J as TraceResponse, Ji as JustificationSpan, Jn as ScenarioCreationStatus, Jr as RerunGradersOptions, Jt as ArchiveVerdictTarget, K as ActiveSpanContext, Ki as Assignee, Kn as ScenarioAction, Kr as RemoveDatasetGradersResult, Kt as GradersClient, L as WrapOpenAIEmbeddingsOptions, Li as SelectiveReplayDecision, Ln as SaveAssertion, Lr as DatasetTraceIds, Lt as GetGraderVerdictsParams, M as WrapAnthropicOptions, Mi as DbSnapshotConfig, Mn as AssertionRewrite, Mr as ListExperimentsParams, Mt as BitfabLangGraphAgent, N as WrapBAMLOptions, Ni as DbSnapshotProvider, Nn as AssertionRewriteStatus, Nr as AddDatasetGradersResult, Nt as BitfabLangGraphIntegration, O as SeedRunOptions, Oi as NodeMatcher, On as AssertionGenerationStatus, Or as ExperimentSummaryResult, Ot as OrganizationMember, P as WrapGeminiOptions, Pi as DbSnapshotRef, Pn as AssertionVerdictEvidence, Pr as AddDatasetTracesResult, Pt as LangGraphIntegrationOptions, Q as SpanListParams, Qn as ScenarioDataSources, Qr as UpdateDatasetParams, Qt as HumanVerdictOutcome, R as WrapOpenAIResponsesOptions, Ri as SelectiveReplayOptions, Rn as SaveAssertionsAllParams, Rr as DatasetsClient, Rt as GraderLabel, S as DetachedTrace, Si as MockOverride, Sn as ArchiveAssertionsParams, Sr as ExperimentRunBy, St as reportReplayProgress, T as ReseedOptions, Ti as MockOverrideResolver, Tn as AssertionEvidenceParameter, Tr as ExperimentSummaryBeforeAfter, Tt as ReplayInterruptSignal, U as getCurrentSpan, Ui as ApprovalFields, Un as SaveScenarioParams, Ur as GraderRerunStatus, Ut as GraderVerdictOutcome, V as WrappedBamlFn, Vi as BamlExecutionResult, Vn as SaveScenarioData, Vr as GraderRerunProgress, Vt as GraderLabelUpdate, W as getCurrentTrace, Wi as ApprovalState, Wn as SavedTraceAssertion, Wr as GraderRerunTimeoutError, Wt as GraderVerdictSource, X as ListedSpan, Xn as ScenarioDataAppend, Xr as SaveDatasetParams, Xt as HumanLabelOutcome, Y as TracingProcessor, Yn as ScenarioData, Yr as RerunGradersResult, Yt as AssertionVerdict, Z as SpanListField, Zn as ScenarioDataOrigin, Zr as SaveDatasetResult, Zt as HumanLabelUpdate, _ as BitfabConfig, _i as SpanOccurrence, _n as VerdictSource, _r as ExperimentCodeChangeTotals, _t as ReplayOptions, a as ReplayRegistryOptions, ai as AssertionCategoriesClient, an as LabelTarget, ar as TraceAssertion, at as ReplayBranch, b as CurrentSpan, bi as flushTraces, bn as VerdictUpdate, br as ExperimentRollup, bt as ReplayResult, c as SeedResult, ci as CategoriesClient, cn as PassFailVerdict, cr as TraceAssertionsUpdate, ct as BITFAB_PROGRESS_PREFIX, d as seedFromRegistry, di as SaveAssertionCategoryParams, dn as Verdict, dr as TraceSearchResult, dt as MockStrategy, ei as BitfabVercelAiHandler, en as LabelAction, er as ScenarioHistoryEntry, et as SpansClient, f as finalizers, fi as SaveCategoryParams, fn as VerdictAction, fr as TraceTarget, ft as ReplayError, g as Bitfab, gi as SpanLookup, gn as VerdictOutcome, gr as ExperimentCategoryTally, gt as ReplayItemStartProgress, h as CommitRef, hi as HttpClient, hn as VerdictEvidenceItem, hr as Experiment, ht as ReplayItemFinishProgress, i as ReplayRegistryContext, ii as BitfabClaudeAgentHandler, in as LabelStatus, ir as ScenarioTrigger, it as RivetIntegrationOptions, j as SpanOptions, ji as MixedTracingError, jn as AssertionLabelEvidence, jr as ExperimentsClient, jt as BitfabAgentMiddleware, k as SpanMethodDecorator, ki as SpanNodeMeta, kn as AssertionGenerationTimeoutError, kr as ExperimentTally, kt as OrganizationMembersClient, l as defineReplayRegistry, li as Category, ln as TraceLabels, lr as TraceSearchFilters, lt as DbBranchOptions, m as __version__, mi as CodeChangeFile, mn as VerdictEvidence, mr as TracesClient, mt as ReplayItem, n as ReplayRegistration, ni as VercelGenerateResult, nn as LabelOutcome, nr as ScenarioRecordInput, nt as RivetContextLike, o as ReseedRegistryResult, oi as AssertionCategory, on as LabelUpdate, or as TraceAssertionSource, ot as AdaptContext, p as DEFAULT_SERVICE_URL, pi as CapturedSpan, pn as VerdictConfidence, pr as TraceTargetOccurrence, pt as ReplayExperiment, q as BitfabOpenAITracingProcessor, qi as Justification, qn as ScenarioActualOutcome, qr as RemoveDatasetTracesResult, qt as ArchiveLabelTarget, r as ReplayRegistry, ri as VercelStreamResult, rn as LabelSource, rr as ScenarioSource, rt as RivetEffectType, s as SeedCase, si as AssertionCategorySummary, sn as LabelsClient, sr as TraceAssertionsResult, st as AdaptInputsFn, t as ReplayOptionsFactory, ti as VercelCallParams, tn as LabelConfidence, tr as ScenarioRecord, tt as BitfabRivetIntegration, u as reseedFromRegistry, ui as CategorySummary, un as TraceVerdicts, ur as TraceSearchParams, ut as DbBranchReplayError, v as BitfabFunction, vi as SpanType, vn as VerdictStatus, vr as ExperimentJitter, vt as ReplayProgress, w as NodeOptions, wi as MockOverrideInput, wn as AssertionCodeDraft, wr as ExperimentSummary, wt as ReplayInterrupt, x as CurrentTrace, xi as DbBranchTimings, xn as VerdictsClient, xr as ExperimentRollupResult, xt as TraceIngestionType, y as CaptureWhen, yi as TokenUsage, yn as VerdictTarget, yr as ExperimentPage, yt as ReplayProgressItem, z as WrapOpenAITranscriptionsOptions, zi as SelectiveReplayReport, zn as SaveAssertionsParams, zr as GraderRerun, zt as GraderLabelOutcome } from "./index-
|
|
1
|
+
import { $ as SpanListResult, $n as ScenarioGeneration, $r as BitfabLanguageModelMiddleware, $t as HumanVerdictUpdate, A as SpanMethodDecoratorContext, Ai as BitfabError, An as AssertionKind, Ar as ExperimentTotals, At as BitfabOpenAIAgentHandler, B as WrapOpenRouterOptions, Bi as AllowedEnvVars, Bn as SaveScenarioActualOutcome, Br as GraderRerunError, Bt as GraderLabelSource, C as NodeMethodDecorator, Ci as MockOverrideCtx, Cn as AssertionCode, Cr as ExperimentStatus, Ct as serializeReplayResult, D as SeedCaseOptions, Di as NO_MOCK_OVERRIDE, Dn as AssertionGenerationError, Dr as ExperimentSummaryFacts, Dt as PiIntegrationOptions, E as ReseedResult, Ei as MockValue, En as AssertionGeneration, Er as ExperimentSummaryExampleTrace, Et as BitfabPiIntegration, F as WrapJevOptions, Fi as SUPPORTED_PROVIDERS, Fn as GenerateAssertionsOptions, Fr as Dataset, Ft as BitfabLangGraphCallbackHandler, G as CaptureSurface, Gi as Approver, Gn as Scenario, Gr as ListDatasetsParams, Gt as GraderVerdictUpdate, H as getCurrentReplayBranch, Hi as ProviderDefinition, Hn as SaveScenarioHistoryEntry, Hr as GraderRerunResult, Ht as GraderVerdict, I as WrapOpenAIChatOptions, Ii as ReplayNodeIdentity, In as GenerateScenarioOptions, Ir as DatasetGraderRef, It as GetGraderLabelsParams, J as TraceResponse, Ji as JustificationSpan, Jn as ScenarioCreationStatus, Jr as RerunGradersOptions, Jt as ArchiveVerdictTarget, K as ActiveSpanContext, Ki as Assignee, Kn as ScenarioAction, Kr as RemoveDatasetGradersResult, Kt as GradersClient, L as WrapOpenAIEmbeddingsOptions, Li as SelectiveReplayDecision, Ln as SaveAssertion, Lr as DatasetTraceIds, Lt as GetGraderVerdictsParams, M as WrapAnthropicOptions, Mi as DbSnapshotConfig, Mn as AssertionRewrite, Mr as ListExperimentsParams, Mt as BitfabLangGraphAgent, N as WrapBAMLOptions, Ni as DbSnapshotProvider, Nn as AssertionRewriteStatus, Nr as AddDatasetGradersResult, Nt as BitfabLangGraphIntegration, O as SeedRunOptions, Oi as NodeMatcher, On as AssertionGenerationStatus, Or as ExperimentSummaryResult, Ot as OrganizationMember, P as WrapGeminiOptions, Pi as DbSnapshotRef, Pn as AssertionVerdictEvidence, Pr as AddDatasetTracesResult, Pt as LangGraphIntegrationOptions, Q as SpanListParams, Qn as ScenarioDataSources, Qr as UpdateDatasetParams, Qt as HumanVerdictOutcome, R as WrapOpenAIResponsesOptions, Ri as SelectiveReplayOptions, Rn as SaveAssertionsAllParams, Rr as DatasetsClient, Rt as GraderLabel, S as DetachedTrace, Si as MockOverride, Sn as ArchiveAssertionsParams, Sr as ExperimentRunBy, St as reportReplayProgress, T as ReseedOptions, Ti as MockOverrideResolver, Tn as AssertionEvidenceParameter, Tr as ExperimentSummaryBeforeAfter, Tt as ReplayInterruptSignal, U as getCurrentSpan, Ui as ApprovalFields, Un as SaveScenarioParams, Ur as GraderRerunStatus, Ut as GraderVerdictOutcome, V as WrappedBamlFn, Vi as BamlExecutionResult, Vn as SaveScenarioData, Vr as GraderRerunProgress, Vt as GraderLabelUpdate, W as getCurrentTrace, Wi as ApprovalState, Wn as SavedTraceAssertion, Wr as GraderRerunTimeoutError, Wt as GraderVerdictSource, X as ListedSpan, Xn as ScenarioDataAppend, Xr as SaveDatasetParams, Xt as HumanLabelOutcome, Y as TracingProcessor, Yn as ScenarioData, Yr as RerunGradersResult, Yt as AssertionVerdict, Z as SpanListField, Zn as ScenarioDataOrigin, Zr as SaveDatasetResult, Zt as HumanLabelUpdate, _ as BitfabConfig, _i as SpanOccurrence, _n as VerdictSource, _r as ExperimentCodeChangeTotals, _t as ReplayOptions, a as ReplayRegistryOptions, ai as AssertionCategoriesClient, an as LabelTarget, ar as TraceAssertion, at as ReplayBranch, b as CurrentSpan, bi as flushTraces, bn as VerdictUpdate, br as ExperimentRollup, bt as ReplayResult, c as SeedResult, ci as CategoriesClient, cn as PassFailVerdict, cr as TraceAssertionsUpdate, ct as BITFAB_PROGRESS_PREFIX, d as seedFromRegistry, di as SaveAssertionCategoryParams, dn as Verdict, dr as TraceSearchResult, dt as MockStrategy, ei as BitfabVercelAiHandler, en as LabelAction, er as ScenarioHistoryEntry, et as SpansClient, f as finalizers, fi as SaveCategoryParams, fn as VerdictAction, fr as TraceTarget, ft as ReplayError, g as Bitfab, gi as SpanLookup, gn as VerdictOutcome, gr as ExperimentCategoryTally, gt as ReplayItemStartProgress, h as CommitRef, hi as HttpClient, hn as VerdictEvidenceItem, hr as Experiment, ht as ReplayItemFinishProgress, i as ReplayRegistryContext, ii as BitfabClaudeAgentHandler, in as LabelStatus, ir as ScenarioTrigger, it as RivetIntegrationOptions, j as SpanOptions, ji as MixedTracingError, jn as AssertionLabelEvidence, jr as ExperimentsClient, jt as BitfabAgentMiddleware, k as SpanMethodDecorator, ki as SpanNodeMeta, kn as AssertionGenerationTimeoutError, kr as ExperimentTally, kt as OrganizationMembersClient, l as defineReplayRegistry, li as Category, ln as TraceLabels, lr as TraceSearchFilters, lt as DbBranchOptions, m as __version__, mi as CodeChangeFile, mn as VerdictEvidence, mr as TracesClient, mt as ReplayItem, n as ReplayRegistration, ni as VercelGenerateResult, nn as LabelOutcome, nr as ScenarioRecordInput, nt as RivetContextLike, o as ReseedRegistryResult, oi as AssertionCategory, on as LabelUpdate, or as TraceAssertionSource, ot as AdaptContext, p as DEFAULT_SERVICE_URL, pi as CapturedSpan, pn as VerdictConfidence, pr as TraceTargetOccurrence, pt as ReplayExperiment, q as BitfabOpenAITracingProcessor, qi as Justification, qn as ScenarioActualOutcome, qr as RemoveDatasetTracesResult, qt as ArchiveLabelTarget, r as ReplayRegistry, ri as VercelStreamResult, rn as LabelSource, rr as ScenarioSource, rt as RivetEffectType, s as SeedCase, si as AssertionCategorySummary, sn as LabelsClient, sr as TraceAssertionsResult, st as AdaptInputsFn, t as ReplayOptionsFactory, ti as VercelCallParams, tn as LabelConfidence, tr as ScenarioRecord, tt as BitfabRivetIntegration, u as reseedFromRegistry, ui as CategorySummary, un as TraceVerdicts, ur as TraceSearchParams, ut as DbBranchReplayError, v as BitfabFunction, vi as SpanType, vn as VerdictStatus, vr as ExperimentJitter, vt as ReplayProgress, w as NodeOptions, wi as MockOverrideInput, wn as AssertionCodeDraft, wr as ExperimentSummary, wt as ReplayInterrupt, x as CurrentTrace, xi as DbBranchTimings, xn as VerdictsClient, xr as ExperimentRollupResult, xt as TraceIngestionType, y as CaptureWhen, yi as TokenUsage, yn as VerdictTarget, yr as ExperimentPage, yt as ReplayProgressItem, z as WrapOpenAITranscriptionsOptions, zi as SelectiveReplayReport, zn as SaveAssertionsParams, zr as GraderRerun, zt as GraderLabelOutcome } from "./index-BYv4DSsY.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, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionCode, type AssertionCodeDraft, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionKind, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GenerateScenarioOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type PiIntegrationOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioCreationStatus, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictEvidence, type VerdictEvidenceItem, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapGeminiOptions, type WrapJevOptions, type WrapOpenAIChatOptions, type WrapOpenAIEmbeddingsOptions, type WrapOpenAIResponsesOptions, type WrapOpenAITranscriptionsOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as SpanListResult, $n as ScenarioGeneration, $r as BitfabLanguageModelMiddleware, $t as HumanVerdictUpdate, A as SpanMethodDecoratorContext, Ai as BitfabError, An as AssertionKind, Ar as ExperimentTotals, At as BitfabOpenAIAgentHandler, B as WrapOpenRouterOptions, Bi as AllowedEnvVars, Bn as SaveScenarioActualOutcome, Br as GraderRerunError, Bt as GraderLabelSource, C as NodeMethodDecorator, Ci as MockOverrideCtx, Cn as AssertionCode, Cr as ExperimentStatus, Ct as serializeReplayResult, D as SeedCaseOptions, Di as NO_MOCK_OVERRIDE, Dn as AssertionGenerationError, Dr as ExperimentSummaryFacts, Dt as PiIntegrationOptions, E as ReseedResult, Ei as MockValue, En as AssertionGeneration, Er as ExperimentSummaryExampleTrace, Et as BitfabPiIntegration, F as WrapJevOptions, Fi as SUPPORTED_PROVIDERS, Fn as GenerateAssertionsOptions, Fr as Dataset, Ft as BitfabLangGraphCallbackHandler, G as CaptureSurface, Gi as Approver, Gn as Scenario, Gr as ListDatasetsParams, Gt as GraderVerdictUpdate, H as getCurrentReplayBranch, Hi as ProviderDefinition, Hn as SaveScenarioHistoryEntry, Hr as GraderRerunResult, Ht as GraderVerdict, I as WrapOpenAIChatOptions, Ii as ReplayNodeIdentity, In as GenerateScenarioOptions, Ir as DatasetGraderRef, It as GetGraderLabelsParams, J as TraceResponse, Ji as JustificationSpan, Jn as ScenarioCreationStatus, Jr as RerunGradersOptions, Jt as ArchiveVerdictTarget, K as ActiveSpanContext, Ki as Assignee, Kn as ScenarioAction, Kr as RemoveDatasetGradersResult, Kt as GradersClient, L as WrapOpenAIEmbeddingsOptions, Li as SelectiveReplayDecision, Ln as SaveAssertion, Lr as DatasetTraceIds, Lt as GetGraderVerdictsParams, M as WrapAnthropicOptions, Mi as DbSnapshotConfig, Mn as AssertionRewrite, Mr as ListExperimentsParams, Mt as BitfabLangGraphAgent, N as WrapBAMLOptions, Ni as DbSnapshotProvider, Nn as AssertionRewriteStatus, Nr as AddDatasetGradersResult, Nt as BitfabLangGraphIntegration, O as SeedRunOptions, Oi as NodeMatcher, On as AssertionGenerationStatus, Or as ExperimentSummaryResult, Ot as OrganizationMember, P as WrapGeminiOptions, Pi as DbSnapshotRef, Pn as AssertionVerdictEvidence, Pr as AddDatasetTracesResult, Pt as LangGraphIntegrationOptions, Q as SpanListParams, Qn as ScenarioDataSources, Qr as UpdateDatasetParams, Qt as HumanVerdictOutcome, R as WrapOpenAIResponsesOptions, Ri as SelectiveReplayOptions, Rn as SaveAssertionsAllParams, Rr as DatasetsClient, Rt as GraderLabel, S as DetachedTrace, Si as MockOverride, Sn as ArchiveAssertionsParams, Sr as ExperimentRunBy, St as reportReplayProgress, T as ReseedOptions, Ti as MockOverrideResolver, Tn as AssertionEvidenceParameter, Tr as ExperimentSummaryBeforeAfter, Tt as ReplayInterruptSignal, U as getCurrentSpan, Ui as ApprovalFields, Un as SaveScenarioParams, Ur as GraderRerunStatus, Ut as GraderVerdictOutcome, V as WrappedBamlFn, Vi as BamlExecutionResult, Vn as SaveScenarioData, Vr as GraderRerunProgress, Vt as GraderLabelUpdate, W as getCurrentTrace, Wi as ApprovalState, Wn as SavedTraceAssertion, Wr as GraderRerunTimeoutError, Wt as GraderVerdictSource, X as ListedSpan, Xn as ScenarioDataAppend, Xr as SaveDatasetParams, Xt as HumanLabelOutcome, Y as TracingProcessor, Yn as ScenarioData, Yr as RerunGradersResult, Yt as AssertionVerdict, Z as SpanListField, Zn as ScenarioDataOrigin, Zr as SaveDatasetResult, Zt as HumanLabelUpdate, _ as BitfabConfig, _i as SpanOccurrence, _n as VerdictSource, _r as ExperimentCodeChangeTotals, _t as ReplayOptions, a as ReplayRegistryOptions, ai as AssertionCategoriesClient, an as LabelTarget, ar as TraceAssertion, at as ReplayBranch, b as CurrentSpan, bi as flushTraces, bn as VerdictUpdate, br as ExperimentRollup, bt as ReplayResult, c as SeedResult, ci as CategoriesClient, cn as PassFailVerdict, cr as TraceAssertionsUpdate, ct as BITFAB_PROGRESS_PREFIX, d as seedFromRegistry, di as SaveAssertionCategoryParams, dn as Verdict, dr as TraceSearchResult, dt as MockStrategy, ei as BitfabVercelAiHandler, en as LabelAction, er as ScenarioHistoryEntry, et as SpansClient, f as finalizers, fi as SaveCategoryParams, fn as VerdictAction, fr as TraceTarget, ft as ReplayError, g as Bitfab, gi as SpanLookup, gn as VerdictOutcome, gr as ExperimentCategoryTally, gt as ReplayItemStartProgress, h as CommitRef, hi as HttpClient, hn as VerdictEvidenceItem, hr as Experiment, ht as ReplayItemFinishProgress, i as ReplayRegistryContext, ii as BitfabClaudeAgentHandler, in as LabelStatus, ir as ScenarioTrigger, it as RivetIntegrationOptions, j as SpanOptions, ji as MixedTracingError, jn as AssertionLabelEvidence, jr as ExperimentsClient, jt as BitfabAgentMiddleware, k as SpanMethodDecorator, ki as SpanNodeMeta, kn as AssertionGenerationTimeoutError, kr as ExperimentTally, kt as OrganizationMembersClient, l as defineReplayRegistry, li as Category, ln as TraceLabels, lr as TraceSearchFilters, lt as DbBranchOptions, m as __version__, mi as CodeChangeFile, mn as VerdictEvidence, mr as TracesClient, mt as ReplayItem, n as ReplayRegistration, ni as VercelGenerateResult, nn as LabelOutcome, nr as ScenarioRecordInput, nt as RivetContextLike, o as ReseedRegistryResult, oi as AssertionCategory, on as LabelUpdate, or as TraceAssertionSource, ot as AdaptContext, p as DEFAULT_SERVICE_URL, pi as CapturedSpan, pn as VerdictConfidence, pr as TraceTargetOccurrence, pt as ReplayExperiment, q as BitfabOpenAITracingProcessor, qi as Justification, qn as ScenarioActualOutcome, qr as RemoveDatasetTracesResult, qt as ArchiveLabelTarget, r as ReplayRegistry, ri as VercelStreamResult, rn as LabelSource, rr as ScenarioSource, rt as RivetEffectType, s as SeedCase, si as AssertionCategorySummary, sn as LabelsClient, sr as TraceAssertionsResult, st as AdaptInputsFn, t as ReplayOptionsFactory, ti as VercelCallParams, tn as LabelConfidence, tr as ScenarioRecord, tt as BitfabRivetIntegration, u as reseedFromRegistry, ui as CategorySummary, un as TraceVerdicts, ur as TraceSearchParams, ut as DbBranchReplayError, v as BitfabFunction, vi as SpanType, vn as VerdictStatus, vr as ExperimentJitter, vt as ReplayProgress, w as NodeOptions, wi as MockOverrideInput, wn as AssertionCodeDraft, wr as ExperimentSummary, wt as ReplayInterrupt, x as CurrentTrace, xi as DbBranchTimings, xn as VerdictsClient, xr as ExperimentRollupResult, xt as TraceIngestionType, y as CaptureWhen, yi as TokenUsage, yn as VerdictTarget, yr as ExperimentPage, yt as ReplayProgressItem, z as WrapOpenAITranscriptionsOptions, zi as SelectiveReplayReport, zn as SaveAssertionsParams, zr as GraderRerun, zt as GraderLabelOutcome } from "./index-
|
|
1
|
+
import { $ as SpanListResult, $n as ScenarioGeneration, $r as BitfabLanguageModelMiddleware, $t as HumanVerdictUpdate, A as SpanMethodDecoratorContext, Ai as BitfabError, An as AssertionKind, Ar as ExperimentTotals, At as BitfabOpenAIAgentHandler, B as WrapOpenRouterOptions, Bi as AllowedEnvVars, Bn as SaveScenarioActualOutcome, Br as GraderRerunError, Bt as GraderLabelSource, C as NodeMethodDecorator, Ci as MockOverrideCtx, Cn as AssertionCode, Cr as ExperimentStatus, Ct as serializeReplayResult, D as SeedCaseOptions, Di as NO_MOCK_OVERRIDE, Dn as AssertionGenerationError, Dr as ExperimentSummaryFacts, Dt as PiIntegrationOptions, E as ReseedResult, Ei as MockValue, En as AssertionGeneration, Er as ExperimentSummaryExampleTrace, Et as BitfabPiIntegration, F as WrapJevOptions, Fi as SUPPORTED_PROVIDERS, Fn as GenerateAssertionsOptions, Fr as Dataset, Ft as BitfabLangGraphCallbackHandler, G as CaptureSurface, Gi as Approver, Gn as Scenario, Gr as ListDatasetsParams, Gt as GraderVerdictUpdate, H as getCurrentReplayBranch, Hi as ProviderDefinition, Hn as SaveScenarioHistoryEntry, Hr as GraderRerunResult, Ht as GraderVerdict, I as WrapOpenAIChatOptions, Ii as ReplayNodeIdentity, In as GenerateScenarioOptions, Ir as DatasetGraderRef, It as GetGraderLabelsParams, J as TraceResponse, Ji as JustificationSpan, Jn as ScenarioCreationStatus, Jr as RerunGradersOptions, Jt as ArchiveVerdictTarget, K as ActiveSpanContext, Ki as Assignee, Kn as ScenarioAction, Kr as RemoveDatasetGradersResult, Kt as GradersClient, L as WrapOpenAIEmbeddingsOptions, Li as SelectiveReplayDecision, Ln as SaveAssertion, Lr as DatasetTraceIds, Lt as GetGraderVerdictsParams, M as WrapAnthropicOptions, Mi as DbSnapshotConfig, Mn as AssertionRewrite, Mr as ListExperimentsParams, Mt as BitfabLangGraphAgent, N as WrapBAMLOptions, Ni as DbSnapshotProvider, Nn as AssertionRewriteStatus, Nr as AddDatasetGradersResult, Nt as BitfabLangGraphIntegration, O as SeedRunOptions, Oi as NodeMatcher, On as AssertionGenerationStatus, Or as ExperimentSummaryResult, Ot as OrganizationMember, P as WrapGeminiOptions, Pi as DbSnapshotRef, Pn as AssertionVerdictEvidence, Pr as AddDatasetTracesResult, Pt as LangGraphIntegrationOptions, Q as SpanListParams, Qn as ScenarioDataSources, Qr as UpdateDatasetParams, Qt as HumanVerdictOutcome, R as WrapOpenAIResponsesOptions, Ri as SelectiveReplayOptions, Rn as SaveAssertionsAllParams, Rr as DatasetsClient, Rt as GraderLabel, S as DetachedTrace, Si as MockOverride, Sn as ArchiveAssertionsParams, Sr as ExperimentRunBy, St as reportReplayProgress, T as ReseedOptions, Ti as MockOverrideResolver, Tn as AssertionEvidenceParameter, Tr as ExperimentSummaryBeforeAfter, Tt as ReplayInterruptSignal, U as getCurrentSpan, Ui as ApprovalFields, Un as SaveScenarioParams, Ur as GraderRerunStatus, Ut as GraderVerdictOutcome, V as WrappedBamlFn, Vi as BamlExecutionResult, Vn as SaveScenarioData, Vr as GraderRerunProgress, Vt as GraderLabelUpdate, W as getCurrentTrace, Wi as ApprovalState, Wn as SavedTraceAssertion, Wr as GraderRerunTimeoutError, Wt as GraderVerdictSource, X as ListedSpan, Xn as ScenarioDataAppend, Xr as SaveDatasetParams, Xt as HumanLabelOutcome, Y as TracingProcessor, Yn as ScenarioData, Yr as RerunGradersResult, Yt as AssertionVerdict, Z as SpanListField, Zn as ScenarioDataOrigin, Zr as SaveDatasetResult, Zt as HumanLabelUpdate, _ as BitfabConfig, _i as SpanOccurrence, _n as VerdictSource, _r as ExperimentCodeChangeTotals, _t as ReplayOptions, a as ReplayRegistryOptions, ai as AssertionCategoriesClient, an as LabelTarget, ar as TraceAssertion, at as ReplayBranch, b as CurrentSpan, bi as flushTraces, bn as VerdictUpdate, br as ExperimentRollup, bt as ReplayResult, c as SeedResult, ci as CategoriesClient, cn as PassFailVerdict, cr as TraceAssertionsUpdate, ct as BITFAB_PROGRESS_PREFIX, d as seedFromRegistry, di as SaveAssertionCategoryParams, dn as Verdict, dr as TraceSearchResult, dt as MockStrategy, ei as BitfabVercelAiHandler, en as LabelAction, er as ScenarioHistoryEntry, et as SpansClient, f as finalizers, fi as SaveCategoryParams, fn as VerdictAction, fr as TraceTarget, ft as ReplayError, g as Bitfab, gi as SpanLookup, gn as VerdictOutcome, gr as ExperimentCategoryTally, gt as ReplayItemStartProgress, h as CommitRef, hi as HttpClient, hn as VerdictEvidenceItem, hr as Experiment, ht as ReplayItemFinishProgress, i as ReplayRegistryContext, ii as BitfabClaudeAgentHandler, in as LabelStatus, ir as ScenarioTrigger, it as RivetIntegrationOptions, j as SpanOptions, ji as MixedTracingError, jn as AssertionLabelEvidence, jr as ExperimentsClient, jt as BitfabAgentMiddleware, k as SpanMethodDecorator, ki as SpanNodeMeta, kn as AssertionGenerationTimeoutError, kr as ExperimentTally, kt as OrganizationMembersClient, l as defineReplayRegistry, li as Category, ln as TraceLabels, lr as TraceSearchFilters, lt as DbBranchOptions, m as __version__, mi as CodeChangeFile, mn as VerdictEvidence, mr as TracesClient, mt as ReplayItem, n as ReplayRegistration, ni as VercelGenerateResult, nn as LabelOutcome, nr as ScenarioRecordInput, nt as RivetContextLike, o as ReseedRegistryResult, oi as AssertionCategory, on as LabelUpdate, or as TraceAssertionSource, ot as AdaptContext, p as DEFAULT_SERVICE_URL, pi as CapturedSpan, pn as VerdictConfidence, pr as TraceTargetOccurrence, pt as ReplayExperiment, q as BitfabOpenAITracingProcessor, qi as Justification, qn as ScenarioActualOutcome, qr as RemoveDatasetTracesResult, qt as ArchiveLabelTarget, r as ReplayRegistry, ri as VercelStreamResult, rn as LabelSource, rr as ScenarioSource, rt as RivetEffectType, s as SeedCase, si as AssertionCategorySummary, sn as LabelsClient, sr as TraceAssertionsResult, st as AdaptInputsFn, t as ReplayOptionsFactory, ti as VercelCallParams, tn as LabelConfidence, tr as ScenarioRecord, tt as BitfabRivetIntegration, u as reseedFromRegistry, ui as CategorySummary, un as TraceVerdicts, ur as TraceSearchParams, ut as DbBranchReplayError, v as BitfabFunction, vi as SpanType, vn as VerdictStatus, vr as ExperimentJitter, vt as ReplayProgress, w as NodeOptions, wi as MockOverrideInput, wn as AssertionCodeDraft, wr as ExperimentSummary, wt as ReplayInterrupt, x as CurrentTrace, xi as DbBranchTimings, xn as VerdictsClient, xr as ExperimentRollupResult, xt as TraceIngestionType, y as CaptureWhen, yi as TokenUsage, yn as VerdictTarget, yr as ExperimentPage, yt as ReplayProgressItem, z as WrapOpenAITranscriptionsOptions, zi as SelectiveReplayReport, zn as SaveAssertionsParams, zr as GraderRerun, zt as GraderLabelOutcome } from "./index-BYv4DSsY.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, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionCode, type AssertionCodeDraft, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionKind, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GenerateScenarioOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type PiIntegrationOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioCreationStatus, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictEvidence, type VerdictEvidenceItem, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapGeminiOptions, type WrapJevOptions, type WrapOpenAIChatOptions, type WrapOpenAIEmbeddingsOptions, type WrapOpenAIResponsesOptions, type WrapOpenAITranscriptionsOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as VerdictsClient, C as OrganizationMembersClient, D as BitfabLangGraphCallbackHandler, E as BitfabLangGraphIntegration, F as GraderRerunTimeoutError, I as BitfabClaudeAgentHandler, L as DEFAULT_SERVICE_URL, M as SUPPORTED_PROVIDERS, N as DatasetsClient, O as GradersClient, P as GraderRerunError, R as AssertionCategoriesClient, S as BitfabPiIntegration, T as NO_MOCK_OVERRIDE, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as ExperimentsClient, k as LabelsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as BitfabOpenAIAgentHandler, x as serializeReplayResult, y as ReplayError, z as CategoriesClient } from "./src-
|
|
2
|
-
import { C as BitfabError, E as __version__, i as flushTraces, t as HttpClient, w as MixedTracingError } from "./http-
|
|
1
|
+
import { A as VerdictsClient, C as OrganizationMembersClient, D as BitfabLangGraphCallbackHandler, E as BitfabLangGraphIntegration, F as GraderRerunTimeoutError, I as BitfabClaudeAgentHandler, L as DEFAULT_SERVICE_URL, M as SUPPORTED_PROVIDERS, N as DatasetsClient, O as GradersClient, P as GraderRerunError, R as AssertionCategoriesClient, S as BitfabPiIntegration, T as NO_MOCK_OVERRIDE, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as ExperimentsClient, k as LabelsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as BitfabOpenAIAgentHandler, x as serializeReplayResult, y as ReplayError, z as CategoriesClient } from "./src-BJjbR3Nq.js";
|
|
2
|
+
import { C as BitfabError, E as __version__, i as flushTraces, t as HttpClient, w as MixedTracingError } from "./http-DS1QjBvx.js";
|
|
3
3
|
export { AssertionCategoriesClient, AssertionGenerationError, AssertionGenerationTimeoutError, BITFAB_PROGRESS_PREFIX, Bitfab, BitfabClaudeAgentHandler, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, CategoriesClient, DEFAULT_SERVICE_URL, DatasetsClient, DbBranchReplayError, ExperimentsClient, GraderRerunError, GraderRerunTimeoutError, GradersClient, HttpClient, LabelsClient, MixedTracingError, NO_MOCK_OVERRIDE, OrganizationMembersClient, ReplayError, SUPPORTED_PROVIDERS, SpansClient, TracesClient, VerdictsClient, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
|
package/dist/node.cjs
CHANGED
|
@@ -2,8 +2,8 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_src = require("./src-
|
|
6
|
-
const require_http = require("./http-
|
|
5
|
+
const require_src = require("./src-CLkegn-P.cjs");
|
|
6
|
+
const require_http = require("./http-ykHGNcju.cjs");
|
|
7
7
|
const require_autoTrace = require("./autoTrace-pZKu5Nk2.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 SpanListResult, $n as ScenarioGeneration, $r as BitfabLanguageModelMiddleware, $t as HumanVerdictUpdate, A as SpanMethodDecoratorContext, Ai as BitfabError, An as AssertionKind, Ar as ExperimentTotals, At as BitfabOpenAIAgentHandler, B as WrapOpenRouterOptions, Bi as AllowedEnvVars, Bn as SaveScenarioActualOutcome, Br as GraderRerunError, Bt as GraderLabelSource, C as NodeMethodDecorator, Ci as MockOverrideCtx, Cn as AssertionCode, Cr as ExperimentStatus, Ct as serializeReplayResult, D as SeedCaseOptions, Di as NO_MOCK_OVERRIDE, Dn as AssertionGenerationError, Dr as ExperimentSummaryFacts, Dt as PiIntegrationOptions, E as ReseedResult, Ei as MockValue, En as AssertionGeneration, Er as ExperimentSummaryExampleTrace, Et as BitfabPiIntegration, F as WrapJevOptions, Fi as SUPPORTED_PROVIDERS, Fn as GenerateAssertionsOptions, Fr as Dataset, Ft as BitfabLangGraphCallbackHandler, G as CaptureSurface, Gi as Approver, Gn as Scenario, Gr as ListDatasetsParams, Gt as GraderVerdictUpdate, H as getCurrentReplayBranch, Hi as ProviderDefinition, Hn as SaveScenarioHistoryEntry, Hr as GraderRerunResult, Ht as GraderVerdict, I as WrapOpenAIChatOptions, Ii as ReplayNodeIdentity, In as GenerateScenarioOptions, Ir as DatasetGraderRef, It as GetGraderLabelsParams, J as TraceResponse, Ji as JustificationSpan, Jn as ScenarioCreationStatus, Jr as RerunGradersOptions, Jt as ArchiveVerdictTarget, K as ActiveSpanContext, Ki as Assignee, Kn as ScenarioAction, Kr as RemoveDatasetGradersResult, Kt as GradersClient, L as WrapOpenAIEmbeddingsOptions, Li as SelectiveReplayDecision, Ln as SaveAssertion, Lr as DatasetTraceIds, Lt as GetGraderVerdictsParams, M as WrapAnthropicOptions, Mi as DbSnapshotConfig, Mn as AssertionRewrite, Mr as ListExperimentsParams, Mt as BitfabLangGraphAgent, N as WrapBAMLOptions, Ni as DbSnapshotProvider, Nn as AssertionRewriteStatus, Nr as AddDatasetGradersResult, Nt as BitfabLangGraphIntegration, O as SeedRunOptions, Oi as NodeMatcher, On as AssertionGenerationStatus, Or as ExperimentSummaryResult, Ot as OrganizationMember, P as WrapGeminiOptions, Pi as DbSnapshotRef, Pn as AssertionVerdictEvidence, Pr as AddDatasetTracesResult, Pt as LangGraphIntegrationOptions, Q as SpanListParams, Qn as ScenarioDataSources, Qr as UpdateDatasetParams, Qt as HumanVerdictOutcome, R as WrapOpenAIResponsesOptions, Ri as SelectiveReplayOptions, Rn as SaveAssertionsAllParams, Rr as DatasetsClient, Rt as GraderLabel, S as DetachedTrace, Si as MockOverride, Sn as ArchiveAssertionsParams, Sr as ExperimentRunBy, St as reportReplayProgress, T as ReseedOptions, Ti as MockOverrideResolver, Tn as AssertionEvidenceParameter, Tr as ExperimentSummaryBeforeAfter, Tt as ReplayInterruptSignal, U as getCurrentSpan, Ui as ApprovalFields, Un as SaveScenarioParams, Ur as GraderRerunStatus, Ut as GraderVerdictOutcome, V as WrappedBamlFn, Vi as BamlExecutionResult, Vn as SaveScenarioData, Vr as GraderRerunProgress, Vt as GraderLabelUpdate, W as getCurrentTrace, Wi as ApprovalState, Wn as SavedTraceAssertion, Wr as GraderRerunTimeoutError, Wt as GraderVerdictSource, X as ListedSpan, Xn as ScenarioDataAppend, Xr as SaveDatasetParams, Xt as HumanLabelOutcome, Y as TracingProcessor, Yn as ScenarioData, Yr as RerunGradersResult, Yt as AssertionVerdict, Z as SpanListField, Zn as ScenarioDataOrigin, Zr as SaveDatasetResult, Zt as HumanLabelUpdate, _ as BitfabConfig, _i as SpanOccurrence, _n as VerdictSource, _r as ExperimentCodeChangeTotals, _t as ReplayOptions, a as ReplayRegistryOptions, ai as AssertionCategoriesClient, an as LabelTarget, ar as TraceAssertion, at as ReplayBranch, b as CurrentSpan, bi as flushTraces, bn as VerdictUpdate, br as ExperimentRollup, bt as ReplayResult, c as SeedResult, ci as CategoriesClient, cn as PassFailVerdict, cr as TraceAssertionsUpdate, ct as BITFAB_PROGRESS_PREFIX, d as seedFromRegistry, di as SaveAssertionCategoryParams, dn as Verdict, dr as TraceSearchResult, dt as MockStrategy, ei as BitfabVercelAiHandler, en as LabelAction, er as ScenarioHistoryEntry, et as SpansClient, f as finalizers, fi as SaveCategoryParams, fn as VerdictAction, fr as TraceTarget, ft as ReplayError, g as Bitfab, gi as SpanLookup, gn as VerdictOutcome, gr as ExperimentCategoryTally, gt as ReplayItemStartProgress, h as CommitRef, hi as HttpClient, hn as VerdictEvidenceItem, hr as Experiment, ht as ReplayItemFinishProgress, i as ReplayRegistryContext, ii as BitfabClaudeAgentHandler, in as LabelStatus, ir as ScenarioTrigger, it as RivetIntegrationOptions, j as SpanOptions, ji as MixedTracingError, jn as AssertionLabelEvidence, jr as ExperimentsClient, jt as BitfabAgentMiddleware, k as SpanMethodDecorator, ki as SpanNodeMeta, kn as AssertionGenerationTimeoutError, kr as ExperimentTally, kt as OrganizationMembersClient, l as defineReplayRegistry, li as Category, ln as TraceLabels, lr as TraceSearchFilters, lt as DbBranchOptions, m as __version__, mi as CodeChangeFile, mn as VerdictEvidence, mr as TracesClient, mt as ReplayItem, n as ReplayRegistration, ni as VercelGenerateResult, nn as LabelOutcome, nr as ScenarioRecordInput, nt as RivetContextLike, o as ReseedRegistryResult, oi as AssertionCategory, on as LabelUpdate, or as TraceAssertionSource, ot as AdaptContext, p as DEFAULT_SERVICE_URL, pi as CapturedSpan, pn as VerdictConfidence, pr as TraceTargetOccurrence, pt as ReplayExperiment, q as BitfabOpenAITracingProcessor, qi as Justification, qn as ScenarioActualOutcome, qr as RemoveDatasetTracesResult, qt as ArchiveLabelTarget, r as ReplayRegistry, ri as VercelStreamResult, rn as LabelSource, rr as ScenarioSource, rt as RivetEffectType, s as SeedCase, si as AssertionCategorySummary, sn as LabelsClient, sr as TraceAssertionsResult, st as AdaptInputsFn, t as ReplayOptionsFactory, ti as VercelCallParams, tn as LabelConfidence, tr as ScenarioRecord, tt as BitfabRivetIntegration, u as reseedFromRegistry, ui as CategorySummary, un as TraceVerdicts, ur as TraceSearchParams, ut as DbBranchReplayError, v as BitfabFunction, vi as SpanType, vn as VerdictStatus, vr as ExperimentJitter, vt as ReplayProgress, w as NodeOptions, wi as MockOverrideInput, wn as AssertionCodeDraft, wr as ExperimentSummary, wt as ReplayInterrupt, x as CurrentTrace, xi as DbBranchTimings, xn as VerdictsClient, xr as ExperimentRollupResult, xt as TraceIngestionType, y as CaptureWhen, yi as TokenUsage, yn as VerdictTarget, yr as ExperimentPage, yt as ReplayProgressItem, z as WrapOpenAITranscriptionsOptions, zi as SelectiveReplayReport, zn as SaveAssertionsParams, zr as GraderRerun, zt as GraderLabelOutcome } from "./index-
|
|
1
|
+
import { $ as SpanListResult, $n as ScenarioGeneration, $r as BitfabLanguageModelMiddleware, $t as HumanVerdictUpdate, A as SpanMethodDecoratorContext, Ai as BitfabError, An as AssertionKind, Ar as ExperimentTotals, At as BitfabOpenAIAgentHandler, B as WrapOpenRouterOptions, Bi as AllowedEnvVars, Bn as SaveScenarioActualOutcome, Br as GraderRerunError, Bt as GraderLabelSource, C as NodeMethodDecorator, Ci as MockOverrideCtx, Cn as AssertionCode, Cr as ExperimentStatus, Ct as serializeReplayResult, D as SeedCaseOptions, Di as NO_MOCK_OVERRIDE, Dn as AssertionGenerationError, Dr as ExperimentSummaryFacts, Dt as PiIntegrationOptions, E as ReseedResult, Ei as MockValue, En as AssertionGeneration, Er as ExperimentSummaryExampleTrace, Et as BitfabPiIntegration, F as WrapJevOptions, Fi as SUPPORTED_PROVIDERS, Fn as GenerateAssertionsOptions, Fr as Dataset, Ft as BitfabLangGraphCallbackHandler, G as CaptureSurface, Gi as Approver, Gn as Scenario, Gr as ListDatasetsParams, Gt as GraderVerdictUpdate, H as getCurrentReplayBranch, Hi as ProviderDefinition, Hn as SaveScenarioHistoryEntry, Hr as GraderRerunResult, Ht as GraderVerdict, I as WrapOpenAIChatOptions, Ii as ReplayNodeIdentity, In as GenerateScenarioOptions, Ir as DatasetGraderRef, It as GetGraderLabelsParams, J as TraceResponse, Ji as JustificationSpan, Jn as ScenarioCreationStatus, Jr as RerunGradersOptions, Jt as ArchiveVerdictTarget, K as ActiveSpanContext, Ki as Assignee, Kn as ScenarioAction, Kr as RemoveDatasetGradersResult, Kt as GradersClient, L as WrapOpenAIEmbeddingsOptions, Li as SelectiveReplayDecision, Ln as SaveAssertion, Lr as DatasetTraceIds, Lt as GetGraderVerdictsParams, M as WrapAnthropicOptions, Mi as DbSnapshotConfig, Mn as AssertionRewrite, Mr as ListExperimentsParams, Mt as BitfabLangGraphAgent, N as WrapBAMLOptions, Ni as DbSnapshotProvider, Nn as AssertionRewriteStatus, Nr as AddDatasetGradersResult, Nt as BitfabLangGraphIntegration, O as SeedRunOptions, Oi as NodeMatcher, On as AssertionGenerationStatus, Or as ExperimentSummaryResult, Ot as OrganizationMember, P as WrapGeminiOptions, Pi as DbSnapshotRef, Pn as AssertionVerdictEvidence, Pr as AddDatasetTracesResult, Pt as LangGraphIntegrationOptions, Q as SpanListParams, Qn as ScenarioDataSources, Qr as UpdateDatasetParams, Qt as HumanVerdictOutcome, R as WrapOpenAIResponsesOptions, Ri as SelectiveReplayOptions, Rn as SaveAssertionsAllParams, Rr as DatasetsClient, Rt as GraderLabel, S as DetachedTrace, Si as MockOverride, Sn as ArchiveAssertionsParams, Sr as ExperimentRunBy, St as reportReplayProgress, T as ReseedOptions, Ti as MockOverrideResolver, Tn as AssertionEvidenceParameter, Tr as ExperimentSummaryBeforeAfter, Tt as ReplayInterruptSignal, U as getCurrentSpan, Ui as ApprovalFields, Un as SaveScenarioParams, Ur as GraderRerunStatus, Ut as GraderVerdictOutcome, V as WrappedBamlFn, Vi as BamlExecutionResult, Vn as SaveScenarioData, Vr as GraderRerunProgress, Vt as GraderLabelUpdate, W as getCurrentTrace, Wi as ApprovalState, Wn as SavedTraceAssertion, Wr as GraderRerunTimeoutError, Wt as GraderVerdictSource, X as ListedSpan, Xn as ScenarioDataAppend, Xr as SaveDatasetParams, Xt as HumanLabelOutcome, Y as TracingProcessor, Yn as ScenarioData, Yr as RerunGradersResult, Yt as AssertionVerdict, Z as SpanListField, Zn as ScenarioDataOrigin, Zr as SaveDatasetResult, Zt as HumanLabelUpdate, _ as BitfabConfig, _i as SpanOccurrence, _n as VerdictSource, _r as ExperimentCodeChangeTotals, _t as ReplayOptions, a as ReplayRegistryOptions, ai as AssertionCategoriesClient, an as LabelTarget, ar as TraceAssertion, at as ReplayBranch, b as CurrentSpan, bi as flushTraces, bn as VerdictUpdate, br as ExperimentRollup, bt as ReplayResult, c as SeedResult, ci as CategoriesClient, cn as PassFailVerdict, cr as TraceAssertionsUpdate, ct as BITFAB_PROGRESS_PREFIX, d as seedFromRegistry, di as SaveAssertionCategoryParams, dn as Verdict, dr as TraceSearchResult, dt as MockStrategy, ei as BitfabVercelAiHandler, en as LabelAction, er as ScenarioHistoryEntry, et as SpansClient, f as finalizers, fi as SaveCategoryParams, fn as VerdictAction, fr as TraceTarget, ft as ReplayError, g as Bitfab, gi as SpanLookup, gn as VerdictOutcome, gr as ExperimentCategoryTally, gt as ReplayItemStartProgress, h as CommitRef, hi as HttpClient, hn as VerdictEvidenceItem, hr as Experiment, ht as ReplayItemFinishProgress, i as ReplayRegistryContext, ii as BitfabClaudeAgentHandler, in as LabelStatus, ir as ScenarioTrigger, it as RivetIntegrationOptions, j as SpanOptions, ji as MixedTracingError, jn as AssertionLabelEvidence, jr as ExperimentsClient, jt as BitfabAgentMiddleware, k as SpanMethodDecorator, ki as SpanNodeMeta, kn as AssertionGenerationTimeoutError, kr as ExperimentTally, kt as OrganizationMembersClient, l as defineReplayRegistry, li as Category, ln as TraceLabels, lr as TraceSearchFilters, lt as DbBranchOptions, m as __version__, mi as CodeChangeFile, mn as VerdictEvidence, mr as TracesClient, mt as ReplayItem, n as ReplayRegistration, ni as VercelGenerateResult, nn as LabelOutcome, nr as ScenarioRecordInput, nt as RivetContextLike, o as ReseedRegistryResult, oi as AssertionCategory, on as LabelUpdate, or as TraceAssertionSource, ot as AdaptContext, p as DEFAULT_SERVICE_URL, pi as CapturedSpan, pn as VerdictConfidence, pr as TraceTargetOccurrence, pt as ReplayExperiment, q as BitfabOpenAITracingProcessor, qi as Justification, qn as ScenarioActualOutcome, qr as RemoveDatasetTracesResult, qt as ArchiveLabelTarget, r as ReplayRegistry, ri as VercelStreamResult, rn as LabelSource, rr as ScenarioSource, rt as RivetEffectType, s as SeedCase, si as AssertionCategorySummary, sn as LabelsClient, sr as TraceAssertionsResult, st as AdaptInputsFn, t as ReplayOptionsFactory, ti as VercelCallParams, tn as LabelConfidence, tr as ScenarioRecord, tt as BitfabRivetIntegration, u as reseedFromRegistry, ui as CategorySummary, un as TraceVerdicts, ur as TraceSearchParams, ut as DbBranchReplayError, v as BitfabFunction, vi as SpanType, vn as VerdictStatus, vr as ExperimentJitter, vt as ReplayProgress, w as NodeOptions, wi as MockOverrideInput, wn as AssertionCodeDraft, wr as ExperimentSummary, wt as ReplayInterrupt, x as CurrentTrace, xi as DbBranchTimings, xn as VerdictsClient, xr as ExperimentRollupResult, xt as TraceIngestionType, y as CaptureWhen, yi as TokenUsage, yn as VerdictTarget, yr as ExperimentPage, yt as ReplayProgressItem, z as WrapOpenAITranscriptionsOptions, zi as SelectiveReplayReport, zn as SaveAssertionsParams, zr as GraderRerun, zt as GraderLabelOutcome } from "./index-BYv4DSsY.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, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionCode, type AssertionCodeDraft, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionKind, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GenerateScenarioOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type PiIntegrationOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioCreationStatus, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictEvidence, type VerdictEvidenceItem, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapGeminiOptions, type WrapJevOptions, type WrapOpenAIChatOptions, type WrapOpenAIEmbeddingsOptions, type WrapOpenAIResponsesOptions, type WrapOpenAITranscriptionsOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
|
package/dist/node.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as SpanListResult, $n as ScenarioGeneration, $r as BitfabLanguageModelMiddleware, $t as HumanVerdictUpdate, A as SpanMethodDecoratorContext, Ai as BitfabError, An as AssertionKind, Ar as ExperimentTotals, At as BitfabOpenAIAgentHandler, B as WrapOpenRouterOptions, Bi as AllowedEnvVars, Bn as SaveScenarioActualOutcome, Br as GraderRerunError, Bt as GraderLabelSource, C as NodeMethodDecorator, Ci as MockOverrideCtx, Cn as AssertionCode, Cr as ExperimentStatus, Ct as serializeReplayResult, D as SeedCaseOptions, Di as NO_MOCK_OVERRIDE, Dn as AssertionGenerationError, Dr as ExperimentSummaryFacts, Dt as PiIntegrationOptions, E as ReseedResult, Ei as MockValue, En as AssertionGeneration, Er as ExperimentSummaryExampleTrace, Et as BitfabPiIntegration, F as WrapJevOptions, Fi as SUPPORTED_PROVIDERS, Fn as GenerateAssertionsOptions, Fr as Dataset, Ft as BitfabLangGraphCallbackHandler, G as CaptureSurface, Gi as Approver, Gn as Scenario, Gr as ListDatasetsParams, Gt as GraderVerdictUpdate, H as getCurrentReplayBranch, Hi as ProviderDefinition, Hn as SaveScenarioHistoryEntry, Hr as GraderRerunResult, Ht as GraderVerdict, I as WrapOpenAIChatOptions, Ii as ReplayNodeIdentity, In as GenerateScenarioOptions, Ir as DatasetGraderRef, It as GetGraderLabelsParams, J as TraceResponse, Ji as JustificationSpan, Jn as ScenarioCreationStatus, Jr as RerunGradersOptions, Jt as ArchiveVerdictTarget, K as ActiveSpanContext, Ki as Assignee, Kn as ScenarioAction, Kr as RemoveDatasetGradersResult, Kt as GradersClient, L as WrapOpenAIEmbeddingsOptions, Li as SelectiveReplayDecision, Ln as SaveAssertion, Lr as DatasetTraceIds, Lt as GetGraderVerdictsParams, M as WrapAnthropicOptions, Mi as DbSnapshotConfig, Mn as AssertionRewrite, Mr as ListExperimentsParams, Mt as BitfabLangGraphAgent, N as WrapBAMLOptions, Ni as DbSnapshotProvider, Nn as AssertionRewriteStatus, Nr as AddDatasetGradersResult, Nt as BitfabLangGraphIntegration, O as SeedRunOptions, Oi as NodeMatcher, On as AssertionGenerationStatus, Or as ExperimentSummaryResult, Ot as OrganizationMember, P as WrapGeminiOptions, Pi as DbSnapshotRef, Pn as AssertionVerdictEvidence, Pr as AddDatasetTracesResult, Pt as LangGraphIntegrationOptions, Q as SpanListParams, Qn as ScenarioDataSources, Qr as UpdateDatasetParams, Qt as HumanVerdictOutcome, R as WrapOpenAIResponsesOptions, Ri as SelectiveReplayOptions, Rn as SaveAssertionsAllParams, Rr as DatasetsClient, Rt as GraderLabel, S as DetachedTrace, Si as MockOverride, Sn as ArchiveAssertionsParams, Sr as ExperimentRunBy, St as reportReplayProgress, T as ReseedOptions, Ti as MockOverrideResolver, Tn as AssertionEvidenceParameter, Tr as ExperimentSummaryBeforeAfter, Tt as ReplayInterruptSignal, U as getCurrentSpan, Ui as ApprovalFields, Un as SaveScenarioParams, Ur as GraderRerunStatus, Ut as GraderVerdictOutcome, V as WrappedBamlFn, Vi as BamlExecutionResult, Vn as SaveScenarioData, Vr as GraderRerunProgress, Vt as GraderLabelUpdate, W as getCurrentTrace, Wi as ApprovalState, Wn as SavedTraceAssertion, Wr as GraderRerunTimeoutError, Wt as GraderVerdictSource, X as ListedSpan, Xn as ScenarioDataAppend, Xr as SaveDatasetParams, Xt as HumanLabelOutcome, Y as TracingProcessor, Yn as ScenarioData, Yr as RerunGradersResult, Yt as AssertionVerdict, Z as SpanListField, Zn as ScenarioDataOrigin, Zr as SaveDatasetResult, Zt as HumanLabelUpdate, _ as BitfabConfig, _i as SpanOccurrence, _n as VerdictSource, _r as ExperimentCodeChangeTotals, _t as ReplayOptions, a as ReplayRegistryOptions, ai as AssertionCategoriesClient, an as LabelTarget, ar as TraceAssertion, at as ReplayBranch, b as CurrentSpan, bi as flushTraces, bn as VerdictUpdate, br as ExperimentRollup, bt as ReplayResult, c as SeedResult, ci as CategoriesClient, cn as PassFailVerdict, cr as TraceAssertionsUpdate, ct as BITFAB_PROGRESS_PREFIX, d as seedFromRegistry, di as SaveAssertionCategoryParams, dn as Verdict, dr as TraceSearchResult, dt as MockStrategy, ei as BitfabVercelAiHandler, en as LabelAction, er as ScenarioHistoryEntry, et as SpansClient, f as finalizers, fi as SaveCategoryParams, fn as VerdictAction, fr as TraceTarget, ft as ReplayError, g as Bitfab, gi as SpanLookup, gn as VerdictOutcome, gr as ExperimentCategoryTally, gt as ReplayItemStartProgress, h as CommitRef, hi as HttpClient, hn as VerdictEvidenceItem, hr as Experiment, ht as ReplayItemFinishProgress, i as ReplayRegistryContext, ii as BitfabClaudeAgentHandler, in as LabelStatus, ir as ScenarioTrigger, it as RivetIntegrationOptions, j as SpanOptions, ji as MixedTracingError, jn as AssertionLabelEvidence, jr as ExperimentsClient, jt as BitfabAgentMiddleware, k as SpanMethodDecorator, ki as SpanNodeMeta, kn as AssertionGenerationTimeoutError, kr as ExperimentTally, kt as OrganizationMembersClient, l as defineReplayRegistry, li as Category, ln as TraceLabels, lr as TraceSearchFilters, lt as DbBranchOptions, m as __version__, mi as CodeChangeFile, mn as VerdictEvidence, mr as TracesClient, mt as ReplayItem, n as ReplayRegistration, ni as VercelGenerateResult, nn as LabelOutcome, nr as ScenarioRecordInput, nt as RivetContextLike, o as ReseedRegistryResult, oi as AssertionCategory, on as LabelUpdate, or as TraceAssertionSource, ot as AdaptContext, p as DEFAULT_SERVICE_URL, pi as CapturedSpan, pn as VerdictConfidence, pr as TraceTargetOccurrence, pt as ReplayExperiment, q as BitfabOpenAITracingProcessor, qi as Justification, qn as ScenarioActualOutcome, qr as RemoveDatasetTracesResult, qt as ArchiveLabelTarget, r as ReplayRegistry, ri as VercelStreamResult, rn as LabelSource, rr as ScenarioSource, rt as RivetEffectType, s as SeedCase, si as AssertionCategorySummary, sn as LabelsClient, sr as TraceAssertionsResult, st as AdaptInputsFn, t as ReplayOptionsFactory, ti as VercelCallParams, tn as LabelConfidence, tr as ScenarioRecord, tt as BitfabRivetIntegration, u as reseedFromRegistry, ui as CategorySummary, un as TraceVerdicts, ur as TraceSearchParams, ut as DbBranchReplayError, v as BitfabFunction, vi as SpanType, vn as VerdictStatus, vr as ExperimentJitter, vt as ReplayProgress, w as NodeOptions, wi as MockOverrideInput, wn as AssertionCodeDraft, wr as ExperimentSummary, wt as ReplayInterrupt, x as CurrentTrace, xi as DbBranchTimings, xn as VerdictsClient, xr as ExperimentRollupResult, xt as TraceIngestionType, y as CaptureWhen, yi as TokenUsage, yn as VerdictTarget, yr as ExperimentPage, yt as ReplayProgressItem, z as WrapOpenAITranscriptionsOptions, zi as SelectiveReplayReport, zn as SaveAssertionsParams, zr as GraderRerun, zt as GraderLabelOutcome } from "./index-
|
|
1
|
+
import { $ as SpanListResult, $n as ScenarioGeneration, $r as BitfabLanguageModelMiddleware, $t as HumanVerdictUpdate, A as SpanMethodDecoratorContext, Ai as BitfabError, An as AssertionKind, Ar as ExperimentTotals, At as BitfabOpenAIAgentHandler, B as WrapOpenRouterOptions, Bi as AllowedEnvVars, Bn as SaveScenarioActualOutcome, Br as GraderRerunError, Bt as GraderLabelSource, C as NodeMethodDecorator, Ci as MockOverrideCtx, Cn as AssertionCode, Cr as ExperimentStatus, Ct as serializeReplayResult, D as SeedCaseOptions, Di as NO_MOCK_OVERRIDE, Dn as AssertionGenerationError, Dr as ExperimentSummaryFacts, Dt as PiIntegrationOptions, E as ReseedResult, Ei as MockValue, En as AssertionGeneration, Er as ExperimentSummaryExampleTrace, Et as BitfabPiIntegration, F as WrapJevOptions, Fi as SUPPORTED_PROVIDERS, Fn as GenerateAssertionsOptions, Fr as Dataset, Ft as BitfabLangGraphCallbackHandler, G as CaptureSurface, Gi as Approver, Gn as Scenario, Gr as ListDatasetsParams, Gt as GraderVerdictUpdate, H as getCurrentReplayBranch, Hi as ProviderDefinition, Hn as SaveScenarioHistoryEntry, Hr as GraderRerunResult, Ht as GraderVerdict, I as WrapOpenAIChatOptions, Ii as ReplayNodeIdentity, In as GenerateScenarioOptions, Ir as DatasetGraderRef, It as GetGraderLabelsParams, J as TraceResponse, Ji as JustificationSpan, Jn as ScenarioCreationStatus, Jr as RerunGradersOptions, Jt as ArchiveVerdictTarget, K as ActiveSpanContext, Ki as Assignee, Kn as ScenarioAction, Kr as RemoveDatasetGradersResult, Kt as GradersClient, L as WrapOpenAIEmbeddingsOptions, Li as SelectiveReplayDecision, Ln as SaveAssertion, Lr as DatasetTraceIds, Lt as GetGraderVerdictsParams, M as WrapAnthropicOptions, Mi as DbSnapshotConfig, Mn as AssertionRewrite, Mr as ListExperimentsParams, Mt as BitfabLangGraphAgent, N as WrapBAMLOptions, Ni as DbSnapshotProvider, Nn as AssertionRewriteStatus, Nr as AddDatasetGradersResult, Nt as BitfabLangGraphIntegration, O as SeedRunOptions, Oi as NodeMatcher, On as AssertionGenerationStatus, Or as ExperimentSummaryResult, Ot as OrganizationMember, P as WrapGeminiOptions, Pi as DbSnapshotRef, Pn as AssertionVerdictEvidence, Pr as AddDatasetTracesResult, Pt as LangGraphIntegrationOptions, Q as SpanListParams, Qn as ScenarioDataSources, Qr as UpdateDatasetParams, Qt as HumanVerdictOutcome, R as WrapOpenAIResponsesOptions, Ri as SelectiveReplayOptions, Rn as SaveAssertionsAllParams, Rr as DatasetsClient, Rt as GraderLabel, S as DetachedTrace, Si as MockOverride, Sn as ArchiveAssertionsParams, Sr as ExperimentRunBy, St as reportReplayProgress, T as ReseedOptions, Ti as MockOverrideResolver, Tn as AssertionEvidenceParameter, Tr as ExperimentSummaryBeforeAfter, Tt as ReplayInterruptSignal, U as getCurrentSpan, Ui as ApprovalFields, Un as SaveScenarioParams, Ur as GraderRerunStatus, Ut as GraderVerdictOutcome, V as WrappedBamlFn, Vi as BamlExecutionResult, Vn as SaveScenarioData, Vr as GraderRerunProgress, Vt as GraderLabelUpdate, W as getCurrentTrace, Wi as ApprovalState, Wn as SavedTraceAssertion, Wr as GraderRerunTimeoutError, Wt as GraderVerdictSource, X as ListedSpan, Xn as ScenarioDataAppend, Xr as SaveDatasetParams, Xt as HumanLabelOutcome, Y as TracingProcessor, Yn as ScenarioData, Yr as RerunGradersResult, Yt as AssertionVerdict, Z as SpanListField, Zn as ScenarioDataOrigin, Zr as SaveDatasetResult, Zt as HumanLabelUpdate, _ as BitfabConfig, _i as SpanOccurrence, _n as VerdictSource, _r as ExperimentCodeChangeTotals, _t as ReplayOptions, a as ReplayRegistryOptions, ai as AssertionCategoriesClient, an as LabelTarget, ar as TraceAssertion, at as ReplayBranch, b as CurrentSpan, bi as flushTraces, bn as VerdictUpdate, br as ExperimentRollup, bt as ReplayResult, c as SeedResult, ci as CategoriesClient, cn as PassFailVerdict, cr as TraceAssertionsUpdate, ct as BITFAB_PROGRESS_PREFIX, d as seedFromRegistry, di as SaveAssertionCategoryParams, dn as Verdict, dr as TraceSearchResult, dt as MockStrategy, ei as BitfabVercelAiHandler, en as LabelAction, er as ScenarioHistoryEntry, et as SpansClient, f as finalizers, fi as SaveCategoryParams, fn as VerdictAction, fr as TraceTarget, ft as ReplayError, g as Bitfab, gi as SpanLookup, gn as VerdictOutcome, gr as ExperimentCategoryTally, gt as ReplayItemStartProgress, h as CommitRef, hi as HttpClient, hn as VerdictEvidenceItem, hr as Experiment, ht as ReplayItemFinishProgress, i as ReplayRegistryContext, ii as BitfabClaudeAgentHandler, in as LabelStatus, ir as ScenarioTrigger, it as RivetIntegrationOptions, j as SpanOptions, ji as MixedTracingError, jn as AssertionLabelEvidence, jr as ExperimentsClient, jt as BitfabAgentMiddleware, k as SpanMethodDecorator, ki as SpanNodeMeta, kn as AssertionGenerationTimeoutError, kr as ExperimentTally, kt as OrganizationMembersClient, l as defineReplayRegistry, li as Category, ln as TraceLabels, lr as TraceSearchFilters, lt as DbBranchOptions, m as __version__, mi as CodeChangeFile, mn as VerdictEvidence, mr as TracesClient, mt as ReplayItem, n as ReplayRegistration, ni as VercelGenerateResult, nn as LabelOutcome, nr as ScenarioRecordInput, nt as RivetContextLike, o as ReseedRegistryResult, oi as AssertionCategory, on as LabelUpdate, or as TraceAssertionSource, ot as AdaptContext, p as DEFAULT_SERVICE_URL, pi as CapturedSpan, pn as VerdictConfidence, pr as TraceTargetOccurrence, pt as ReplayExperiment, q as BitfabOpenAITracingProcessor, qi as Justification, qn as ScenarioActualOutcome, qr as RemoveDatasetTracesResult, qt as ArchiveLabelTarget, r as ReplayRegistry, ri as VercelStreamResult, rn as LabelSource, rr as ScenarioSource, rt as RivetEffectType, s as SeedCase, si as AssertionCategorySummary, sn as LabelsClient, sr as TraceAssertionsResult, st as AdaptInputsFn, t as ReplayOptionsFactory, ti as VercelCallParams, tn as LabelConfidence, tr as ScenarioRecord, tt as BitfabRivetIntegration, u as reseedFromRegistry, ui as CategorySummary, un as TraceVerdicts, ur as TraceSearchParams, ut as DbBranchReplayError, v as BitfabFunction, vi as SpanType, vn as VerdictStatus, vr as ExperimentJitter, vt as ReplayProgress, w as NodeOptions, wi as MockOverrideInput, wn as AssertionCodeDraft, wr as ExperimentSummary, wt as ReplayInterrupt, x as CurrentTrace, xi as DbBranchTimings, xn as VerdictsClient, xr as ExperimentRollupResult, xt as TraceIngestionType, y as CaptureWhen, yi as TokenUsage, yn as VerdictTarget, yr as ExperimentPage, yt as ReplayProgressItem, z as WrapOpenAITranscriptionsOptions, zi as SelectiveReplayReport, zn as SaveAssertionsParams, zr as GraderRerun, zt as GraderLabelOutcome } from "./index-BYv4DSsY.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, type ArchiveVerdictTarget, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionCode, type AssertionCodeDraft, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionKind, type AssertionLabelEvidence, type AssertionRewrite, type AssertionRewriteStatus, type AssertionVerdict, type AssertionVerdictEvidence, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, type BitfabAgentMiddleware, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, type BitfabLangGraphAgent, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabPiIntegration, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, CategoriesClient, type Category, type CategorySummary, type CodeChangeFile, type CommitRef, type CurrentSpan, type CurrentTrace, DEFAULT_SERVICE_URL, type Dataset, type DatasetGraderRef, type DatasetTraceIds, DatasetsClient, type DbBranchOptions, DbBranchReplayError, type DbBranchTimings, type DbSnapshotConfig, type DbSnapshotProvider, type DbSnapshotRef, type DetachedTrace, type Experiment, type ExperimentCategoryTally, type ExperimentCodeChangeTotals, type ExperimentJitter, type ExperimentPage, type ExperimentRollup, type ExperimentRollupResult, type ExperimentRunBy, type ExperimentStatus, type ExperimentSummary, type ExperimentSummaryBeforeAfter, type ExperimentSummaryExampleTrace, type ExperimentSummaryFacts, type ExperimentSummaryResult, type ExperimentTally, type ExperimentTotals, ExperimentsClient, type GenerateAssertionsOptions, type GenerateScenarioOptions, type GetGraderLabelsParams, type GetGraderVerdictsParams, type GraderLabel, type GraderLabelOutcome, type GraderLabelSource, type GraderLabelUpdate, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, type GraderVerdict, type GraderVerdictOutcome, type GraderVerdictSource, type GraderVerdictUpdate, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type HumanVerdictOutcome, type HumanVerdictUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, type ListExperimentsParams, type ListedSpan, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type PassFailVerdict, type PiIntegrationOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, type ReplayBranch, ReplayError, type ReplayExperiment, type ReplayInterrupt, type ReplayInterruptSignal, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayNodeIdentity, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, type ReseedOptions, type ReseedRegistryResult, type ReseedResult, type RivetContextLike, type RivetEffectType, type RivetIntegrationOptions, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionCategoryParams, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveCategoryParams, type SaveDatasetParams, type SaveDatasetResult, type SaveScenarioActualOutcome, type SaveScenarioData, type SaveScenarioHistoryEntry, type SaveScenarioParams, type SavedTraceAssertion, type Scenario, type ScenarioAction, type ScenarioActualOutcome, type ScenarioCreationStatus, type ScenarioData, type ScenarioDataAppend, type ScenarioDataOrigin, type ScenarioDataSources, type ScenarioGeneration, type ScenarioHistoryEntry, type ScenarioRecord, type ScenarioRecordInput, type ScenarioSource, type ScenarioTrigger, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, type SpanListField, type SpanListParams, type SpanListResult, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, SpansClient, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, type TraceTarget, type TraceTargetOccurrence, type TraceVerdicts, TracesClient, type TracingProcessor, type UpdateDatasetParams, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type Verdict, type VerdictAction, type VerdictConfidence, type VerdictEvidence, type VerdictEvidenceItem, type VerdictOutcome, type VerdictSource, type VerdictStatus, type VerdictTarget, type VerdictUpdate, VerdictsClient, type WrapAnthropicOptions, type WrapBAMLOptions, type WrapGeminiOptions, type WrapJevOptions, type WrapOpenAIChatOptions, type WrapOpenAIEmbeddingsOptions, type WrapOpenAIResponsesOptions, type WrapOpenAITranscriptionsOptions, type WrapOpenRouterOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
|
package/dist/node.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as VerdictsClient, C as OrganizationMembersClient, D as BitfabLangGraphCallbackHandler, E as BitfabLangGraphIntegration, F as GraderRerunTimeoutError, I as BitfabClaudeAgentHandler, L as DEFAULT_SERVICE_URL, M as SUPPORTED_PROVIDERS, N as DatasetsClient, O as GradersClient, P as GraderRerunError, R as AssertionCategoriesClient, S as BitfabPiIntegration, T as NO_MOCK_OVERRIDE, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as ExperimentsClient, k as LabelsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as BitfabOpenAIAgentHandler, x as serializeReplayResult, y as ReplayError, z as CategoriesClient } from "./src-
|
|
2
|
-
import { C as BitfabError, E as __version__, i as flushTraces, t as HttpClient, w as MixedTracingError } from "./http-
|
|
1
|
+
import { A as VerdictsClient, C as OrganizationMembersClient, D as BitfabLangGraphCallbackHandler, E as BitfabLangGraphIntegration, F as GraderRerunTimeoutError, I as BitfabClaudeAgentHandler, L as DEFAULT_SERVICE_URL, M as SUPPORTED_PROVIDERS, N as DatasetsClient, O as GradersClient, P as GraderRerunError, R as AssertionCategoriesClient, S as BitfabPiIntegration, T as NO_MOCK_OVERRIDE, _ as BITFAB_PROGRESS_PREFIX, a as Bitfab, b as reportReplayProgress, c as getCurrentSpan, d as BitfabOpenAITracingProcessor, f as AssertionGenerationError, g as BitfabRivetIntegration, h as SpansClient, i as finalizers, j as ExperimentsClient, k as LabelsClient, l as getCurrentTrace, m as TracesClient, n as reseedFromRegistry, o as BitfabFunction, p as AssertionGenerationTimeoutError, r as seedFromRegistry, s as getCurrentReplayBranch, t as defineReplayRegistry, u as BitfabVercelAiHandler, v as DbBranchReplayError, w as BitfabOpenAIAgentHandler, x as serializeReplayResult, y as ReplayError, z as CategoriesClient } from "./src-BJjbR3Nq.js";
|
|
2
|
+
import { C as BitfabError, E as __version__, i as flushTraces, t as HttpClient, w as MixedTracingError } from "./http-DS1QjBvx.js";
|
|
3
3
|
import { Z as registerAsyncLocalStorageClass, q as assertAsyncStorageRegistered } from "./autoTrace-BgN0zCQf.js";
|
|
4
4
|
import { AsyncLocalStorage } from "async_hooks";
|
|
5
5
|
//#region src/asyncStorageNode.ts
|