bitfab 0.52.3 → 0.52.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/{chunk-JPFJ5YSK.js → chunk-3D7FNJ5R.js} +14 -2
- package/dist/{chunk-JPFJ5YSK.js.map → chunk-3D7FNJ5R.js.map} +1 -1
- package/dist/chunk-3QXNM62Y.js +747 -0
- package/dist/chunk-3QXNM62Y.js.map +1 -0
- package/dist/{chunk-NZGYJWHY.js → chunk-6DRFQJ75.js} +111 -13
- package/dist/chunk-6DRFQJ75.js.map +1 -0
- package/dist/{chunk-XRSOWDOP.js → chunk-CAE7HE4C.js} +15 -2
- package/dist/{chunk-XRSOWDOP.js.map → chunk-CAE7HE4C.js.map} +1 -1
- package/dist/{chunk-EAET3MSX.js → chunk-EMRHO6YW.js} +291 -21
- package/dist/chunk-EMRHO6YW.js.map +1 -0
- package/dist/{http-HSNLZMNZ.js → http-Q6UEKZRF.js} +2 -2
- package/dist/{http-W66ZE5TL.js → http-UQT6QVBC.js} +2 -2
- package/dist/index.cjs +444 -57
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +44 -2
- package/dist/index.d.ts +44 -2
- package/dist/index.js +5 -3
- package/dist/node.cjs +444 -57
- package/dist/node.cjs.map +1 -1
- package/dist/node.d.cts +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/node.js +5 -3
- package/dist/node.js.map +1 -1
- package/dist/{replay-QMA2K5M4.js → replay-UVSZFZW7.js} +5 -3
- package/dist/replayCli.js +18 -687
- package/dist/replayCli.js.map +1 -1
- package/dist/seedCli.js +30 -0
- package/dist/seedCli.js.map +1 -0
- package/package.json +3 -2
- package/dist/chunk-EAET3MSX.js.map +0 -1
- package/dist/chunk-NZGYJWHY.js.map +0 -1
- /package/dist/{http-HSNLZMNZ.js.map → http-Q6UEKZRF.js.map} +0 -0
- /package/dist/{http-W66ZE5TL.js.map → http-UQT6QVBC.js.map} +0 -0
- /package/dist/{replay-QMA2K5M4.js.map → replay-UVSZFZW7.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -591,6 +591,8 @@ declare class HttpClient {
|
|
|
591
591
|
* Blocking call.
|
|
592
592
|
*/
|
|
593
593
|
completeReplay(testRunId: string): Promise<CompleteReplayResponse>;
|
|
594
|
+
getReseedSource(traceId: string): Promise<ReseedSourceResponse>;
|
|
595
|
+
reseedTrace(traceId: string, runTraceId: string): Promise<ReseedTraceResponse>;
|
|
594
596
|
/**
|
|
595
597
|
* Ask the server to materialize a per-trace DB branch lease from a
|
|
596
598
|
* captured `dbSnapshotRef`. Blocking - the resolver creates a Neon
|
|
@@ -749,6 +751,21 @@ interface CompleteReplayResponse {
|
|
|
749
751
|
*/
|
|
750
752
|
traceCount?: number;
|
|
751
753
|
}
|
|
754
|
+
interface ReseedSourceResponse {
|
|
755
|
+
traceId: string;
|
|
756
|
+
traceFunctionKey: string;
|
|
757
|
+
ingestionType: string;
|
|
758
|
+
name: string | null;
|
|
759
|
+
sessionId: string | null;
|
|
760
|
+
metadata: Record<string, unknown>;
|
|
761
|
+
input: unknown;
|
|
762
|
+
inputMeta: unknown;
|
|
763
|
+
inputSerialized: unknown;
|
|
764
|
+
}
|
|
765
|
+
interface ReseedTraceResponse {
|
|
766
|
+
traceId: string;
|
|
767
|
+
previousRunTraceId: string;
|
|
768
|
+
}
|
|
752
769
|
interface SpanTreeNode {
|
|
753
770
|
/** Upstream platform span id. Stable structural identity; NOT the row id. */
|
|
754
771
|
sourceSpanId: string;
|
|
@@ -2459,6 +2476,13 @@ interface SeedRunOptions<TArgs extends unknown[]> {
|
|
|
2459
2476
|
sessionId?: string;
|
|
2460
2477
|
name?: string;
|
|
2461
2478
|
}
|
|
2479
|
+
interface ReseedOptions {
|
|
2480
|
+
traceId: string;
|
|
2481
|
+
}
|
|
2482
|
+
interface ReseedResult {
|
|
2483
|
+
traceId: string;
|
|
2484
|
+
previousRunTraceId: string;
|
|
2485
|
+
}
|
|
2462
2486
|
interface BitfabConfig {
|
|
2463
2487
|
/**
|
|
2464
2488
|
* The API key for Bitfab API authentication. Resolved lazily, the first
|
|
@@ -3118,6 +3142,7 @@ declare class Bitfab {
|
|
|
3118
3142
|
seedTrace<TArgs extends unknown[], TReturn>(traceFunctionKey: string, fn: (...args: TArgs) => TReturn, options?: SeedRunOptions<TArgs>): Promise<string>;
|
|
3119
3143
|
private seedTraceFromCase;
|
|
3120
3144
|
private seedTraceByRunning;
|
|
3145
|
+
reseedTrace(traceFunctionKey: string, fn: (...args: any[]) => unknown, options: ReseedOptions): Promise<ReseedResult>;
|
|
3121
3146
|
replay<TReturn>(traceFunctionKey: string, fn: (...args: any[]) => TReturn | Promise<TReturn>, options?: ReplayOptions): Promise<ReplayResult<TReturn>>;
|
|
3122
3147
|
}
|
|
3123
3148
|
/**
|
|
@@ -3285,6 +3310,14 @@ declare class BitfabFunction {
|
|
|
3285
3310
|
wrapBAML<TArgs extends unknown[], TReturn>(methodOrClient: unknown, maybeMethodOrOptions?: ((...args: TArgs) => Promise<TReturn>) | WrapBAMLOptions, maybeOptions?: WrapBAMLOptions): WrappedBamlFn<TArgs, TReturn>;
|
|
3286
3311
|
}
|
|
3287
3312
|
|
|
3313
|
+
interface CommitRef {
|
|
3314
|
+
sha: string;
|
|
3315
|
+
branch: string | null;
|
|
3316
|
+
dirty: boolean | null;
|
|
3317
|
+
remote: string | null;
|
|
3318
|
+
rootSha: string | null;
|
|
3319
|
+
}
|
|
3320
|
+
|
|
3288
3321
|
/**
|
|
3289
3322
|
* Auto-generated package metadata.
|
|
3290
3323
|
* This file is generated by scripts/generate-version.ts during build.
|
|
@@ -3293,7 +3326,7 @@ declare class BitfabFunction {
|
|
|
3293
3326
|
/**
|
|
3294
3327
|
* SDK version from package.json (injected at build time)
|
|
3295
3328
|
*/
|
|
3296
|
-
declare const __version__ = "0.52.
|
|
3329
|
+
declare const __version__ = "0.52.5";
|
|
3297
3330
|
|
|
3298
3331
|
/**
|
|
3299
3332
|
* Constants for the Bitfab SDK.
|
|
@@ -3410,6 +3443,15 @@ interface SeedResult {
|
|
|
3410
3443
|
traceFunctionKey: string;
|
|
3411
3444
|
traceIds: string[];
|
|
3412
3445
|
}
|
|
3446
|
+
interface ReseedRegistryResult {
|
|
3447
|
+
pipeline: string;
|
|
3448
|
+
traceFunctionKey: string;
|
|
3449
|
+
reseeded: {
|
|
3450
|
+
traceId: string;
|
|
3451
|
+
previousRunTraceId: string;
|
|
3452
|
+
}[];
|
|
3453
|
+
}
|
|
3454
|
+
declare function reseedFromRegistry(registry: ReplayRegistry, pipeline: string, traceIds: readonly string[]): Promise<ReseedRegistryResult>;
|
|
3413
3455
|
/**
|
|
3414
3456
|
* Seed cases through an already-registered pipeline.
|
|
3415
3457
|
*
|
|
@@ -3423,4 +3465,4 @@ declare function seedFromRegistry(registry: ReplayRegistry, pipeline: string, ca
|
|
|
3423
3465
|
run?: boolean;
|
|
3424
3466
|
}): Promise<SeedResult>;
|
|
3425
3467
|
|
|
3426
|
-
export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ArchiveAssertionsParams, type AssertionVerdict, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, type CodeChangeFile, 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 GetGraderLabelsParams, type GraderLabel, type GraderLabelSource, type GraderRerun, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, ReplayBranch, ReplayError, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveDatasetParams, type SaveDatasetResult, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceOutline, type TraceOutlineSpan, type TraceOutlineSpanError, type TraceResponse, type TraceTarget, type TraceTargetOccurrence, TracesClient, type TracingProcessor, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type WrapBAMLOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, seedFromRegistry, serializeReplayResult };
|
|
3468
|
+
export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ArchiveAssertionsParams, type AssertionVerdict, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, 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 GetGraderLabelsParams, type GraderLabel, type GraderLabelSource, type GraderRerun, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, ReplayBranch, ReplayError, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, 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, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveDatasetParams, type SaveDatasetResult, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceOutline, type TraceOutlineSpan, type TraceOutlineSpanError, type TraceResponse, type TraceTarget, type TraceTargetOccurrence, TracesClient, type TracingProcessor, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type WrapBAMLOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
|
package/dist/index.d.ts
CHANGED
|
@@ -591,6 +591,8 @@ declare class HttpClient {
|
|
|
591
591
|
* Blocking call.
|
|
592
592
|
*/
|
|
593
593
|
completeReplay(testRunId: string): Promise<CompleteReplayResponse>;
|
|
594
|
+
getReseedSource(traceId: string): Promise<ReseedSourceResponse>;
|
|
595
|
+
reseedTrace(traceId: string, runTraceId: string): Promise<ReseedTraceResponse>;
|
|
594
596
|
/**
|
|
595
597
|
* Ask the server to materialize a per-trace DB branch lease from a
|
|
596
598
|
* captured `dbSnapshotRef`. Blocking - the resolver creates a Neon
|
|
@@ -749,6 +751,21 @@ interface CompleteReplayResponse {
|
|
|
749
751
|
*/
|
|
750
752
|
traceCount?: number;
|
|
751
753
|
}
|
|
754
|
+
interface ReseedSourceResponse {
|
|
755
|
+
traceId: string;
|
|
756
|
+
traceFunctionKey: string;
|
|
757
|
+
ingestionType: string;
|
|
758
|
+
name: string | null;
|
|
759
|
+
sessionId: string | null;
|
|
760
|
+
metadata: Record<string, unknown>;
|
|
761
|
+
input: unknown;
|
|
762
|
+
inputMeta: unknown;
|
|
763
|
+
inputSerialized: unknown;
|
|
764
|
+
}
|
|
765
|
+
interface ReseedTraceResponse {
|
|
766
|
+
traceId: string;
|
|
767
|
+
previousRunTraceId: string;
|
|
768
|
+
}
|
|
752
769
|
interface SpanTreeNode {
|
|
753
770
|
/** Upstream platform span id. Stable structural identity; NOT the row id. */
|
|
754
771
|
sourceSpanId: string;
|
|
@@ -2459,6 +2476,13 @@ interface SeedRunOptions<TArgs extends unknown[]> {
|
|
|
2459
2476
|
sessionId?: string;
|
|
2460
2477
|
name?: string;
|
|
2461
2478
|
}
|
|
2479
|
+
interface ReseedOptions {
|
|
2480
|
+
traceId: string;
|
|
2481
|
+
}
|
|
2482
|
+
interface ReseedResult {
|
|
2483
|
+
traceId: string;
|
|
2484
|
+
previousRunTraceId: string;
|
|
2485
|
+
}
|
|
2462
2486
|
interface BitfabConfig {
|
|
2463
2487
|
/**
|
|
2464
2488
|
* The API key for Bitfab API authentication. Resolved lazily, the first
|
|
@@ -3118,6 +3142,7 @@ declare class Bitfab {
|
|
|
3118
3142
|
seedTrace<TArgs extends unknown[], TReturn>(traceFunctionKey: string, fn: (...args: TArgs) => TReturn, options?: SeedRunOptions<TArgs>): Promise<string>;
|
|
3119
3143
|
private seedTraceFromCase;
|
|
3120
3144
|
private seedTraceByRunning;
|
|
3145
|
+
reseedTrace(traceFunctionKey: string, fn: (...args: any[]) => unknown, options: ReseedOptions): Promise<ReseedResult>;
|
|
3121
3146
|
replay<TReturn>(traceFunctionKey: string, fn: (...args: any[]) => TReturn | Promise<TReturn>, options?: ReplayOptions): Promise<ReplayResult<TReturn>>;
|
|
3122
3147
|
}
|
|
3123
3148
|
/**
|
|
@@ -3285,6 +3310,14 @@ declare class BitfabFunction {
|
|
|
3285
3310
|
wrapBAML<TArgs extends unknown[], TReturn>(methodOrClient: unknown, maybeMethodOrOptions?: ((...args: TArgs) => Promise<TReturn>) | WrapBAMLOptions, maybeOptions?: WrapBAMLOptions): WrappedBamlFn<TArgs, TReturn>;
|
|
3286
3311
|
}
|
|
3287
3312
|
|
|
3313
|
+
interface CommitRef {
|
|
3314
|
+
sha: string;
|
|
3315
|
+
branch: string | null;
|
|
3316
|
+
dirty: boolean | null;
|
|
3317
|
+
remote: string | null;
|
|
3318
|
+
rootSha: string | null;
|
|
3319
|
+
}
|
|
3320
|
+
|
|
3288
3321
|
/**
|
|
3289
3322
|
* Auto-generated package metadata.
|
|
3290
3323
|
* This file is generated by scripts/generate-version.ts during build.
|
|
@@ -3293,7 +3326,7 @@ declare class BitfabFunction {
|
|
|
3293
3326
|
/**
|
|
3294
3327
|
* SDK version from package.json (injected at build time)
|
|
3295
3328
|
*/
|
|
3296
|
-
declare const __version__ = "0.52.
|
|
3329
|
+
declare const __version__ = "0.52.5";
|
|
3297
3330
|
|
|
3298
3331
|
/**
|
|
3299
3332
|
* Constants for the Bitfab SDK.
|
|
@@ -3410,6 +3443,15 @@ interface SeedResult {
|
|
|
3410
3443
|
traceFunctionKey: string;
|
|
3411
3444
|
traceIds: string[];
|
|
3412
3445
|
}
|
|
3446
|
+
interface ReseedRegistryResult {
|
|
3447
|
+
pipeline: string;
|
|
3448
|
+
traceFunctionKey: string;
|
|
3449
|
+
reseeded: {
|
|
3450
|
+
traceId: string;
|
|
3451
|
+
previousRunTraceId: string;
|
|
3452
|
+
}[];
|
|
3453
|
+
}
|
|
3454
|
+
declare function reseedFromRegistry(registry: ReplayRegistry, pipeline: string, traceIds: readonly string[]): Promise<ReseedRegistryResult>;
|
|
3413
3455
|
/**
|
|
3414
3456
|
* Seed cases through an already-registered pipeline.
|
|
3415
3457
|
*
|
|
@@ -3423,4 +3465,4 @@ declare function seedFromRegistry(registry: ReplayRegistry, pipeline: string, ca
|
|
|
3423
3465
|
run?: boolean;
|
|
3424
3466
|
}): Promise<SeedResult>;
|
|
3425
3467
|
|
|
3426
|
-
export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ArchiveAssertionsParams, type AssertionVerdict, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, type CodeChangeFile, 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 GetGraderLabelsParams, type GraderLabel, type GraderLabelSource, type GraderRerun, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, ReplayBranch, ReplayError, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, type ReplayOptions, type ReplayOptionsFactory, type ReplayProgress, type ReplayProgressItem, type ReplayRegistration, type ReplayRegistry, type ReplayRegistryContext, type ReplayRegistryOptions, type ReplayResult, type RerunGradersOptions, type RerunGradersResult, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveDatasetParams, type SaveDatasetResult, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceOutline, type TraceOutlineSpan, type TraceOutlineSpanError, type TraceResponse, type TraceTarget, type TraceTargetOccurrence, TracesClient, type TracingProcessor, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type WrapBAMLOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, seedFromRegistry, serializeReplayResult };
|
|
3468
|
+
export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ArchiveAssertionsParams, type AssertionVerdict, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, 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 GetGraderLabelsParams, type GraderLabel, type GraderLabelSource, type GraderRerun, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, ReplayBranch, ReplayError, type ReplayItem, type ReplayItemFinishProgress, type ReplayItemStartProgress, 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, SUPPORTED_PROVIDERS, type SaveAssertion, type SaveAssertionsAllParams, type SaveAssertionsParams, type SaveDatasetParams, type SaveDatasetResult, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SpanLookup, type SpanMethodDecorator, type SpanMethodDecoratorContext, type SpanNodeMeta, type SpanOccurrence, type SpanOptions, type SpanType, type TokenUsage, type TraceAssertion, type TraceAssertionSource, type TraceAssertionsResult, type TraceAssertionsUpdate, type TraceIngestionType, type TraceLabels, type TraceOutline, type TraceOutlineSpan, type TraceOutlineSpanError, type TraceResponse, type TraceTarget, type TraceTargetOccurrence, TracesClient, type TracingProcessor, type VercelCallParams, type VercelGenerateResult, type VercelStreamResult, type WrapBAMLOptions, type WrappedBamlFn, __version__, defineReplayRegistry, finalizers, flushTraces, getCurrentReplayBranch, getCurrentSpan, getCurrentTrace, reportReplayProgress, reseedFromRegistry, seedFromRegistry, serializeReplayResult };
|
package/dist/index.js
CHANGED
|
@@ -26,8 +26,9 @@ import {
|
|
|
26
26
|
getCurrentReplayBranch,
|
|
27
27
|
getCurrentSpan,
|
|
28
28
|
getCurrentTrace,
|
|
29
|
+
reseedFromRegistry,
|
|
29
30
|
seedFromRegistry
|
|
30
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-EMRHO6YW.js";
|
|
31
32
|
import "./chunk-ZUD7OFYB.js";
|
|
32
33
|
import {
|
|
33
34
|
BITFAB_PROGRESS_PREFIX,
|
|
@@ -36,7 +37,7 @@ import {
|
|
|
36
37
|
ReplayError,
|
|
37
38
|
reportReplayProgress,
|
|
38
39
|
serializeReplayResult
|
|
39
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-6DRFQJ75.js";
|
|
40
41
|
import {
|
|
41
42
|
BitfabError,
|
|
42
43
|
DEFAULT_SERVICE_URL,
|
|
@@ -44,7 +45,7 @@ import {
|
|
|
44
45
|
MixedTracingError,
|
|
45
46
|
__version__,
|
|
46
47
|
flushTraces
|
|
47
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-CAE7HE4C.js";
|
|
48
49
|
import "./chunk-H6LZRFMN.js";
|
|
49
50
|
export {
|
|
50
51
|
BITFAB_PROGRESS_PREFIX,
|
|
@@ -77,6 +78,7 @@ export {
|
|
|
77
78
|
getCurrentSpan,
|
|
78
79
|
getCurrentTrace,
|
|
79
80
|
reportReplayProgress,
|
|
81
|
+
reseedFromRegistry,
|
|
80
82
|
seedFromRegistry,
|
|
81
83
|
serializeReplayResult
|
|
82
84
|
};
|