bitfab 0.61.5 → 0.62.0
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/{chunk-7OXXBUGQ.js → chunk-5W6PO64F.js} +6 -15
- package/dist/chunk-5W6PO64F.js.map +1 -0
- package/dist/{chunk-R5RMFRHX.js → chunk-7ZFWK2BA.js} +2 -2
- package/dist/{chunk-R5RMFRHX.js.map → chunk-7ZFWK2BA.js.map} +1 -1
- package/dist/{chunk-VD5PS6WE.js → chunk-IIKOOG2X.js} +3 -3
- package/dist/chunk-IIKOOG2X.js.map +1 -0
- package/dist/{chunk-4TRH3X3S.js → chunk-KYHIRSSK.js} +2 -2
- package/dist/{chunk-4TRH3X3S.js.map → chunk-KYHIRSSK.js.map} +1 -1
- package/dist/{chunk-KOANTEGQ.js → chunk-QMDATWZJ.js} +6 -6
- package/dist/{chunk-KOANTEGQ.js.map → chunk-QMDATWZJ.js.map} +1 -1
- package/dist/{http-SK2QESXJ.js → http-FVLGLWIO.js} +2 -2
- package/dist/{http-CR2SEMK4.js → http-P24OJM7Z.js} +2 -2
- package/dist/index.cjs +5 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -34
- package/dist/index.d.ts +2 -34
- package/dist/index.js +3 -3
- package/dist/node.cjs +5 -14
- 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 +3 -3
- package/dist/{replay-YSR7FD4I.js → replay-JJVAPZ6I.js} +3 -3
- package/dist/replayCli.js +2 -2
- package/dist/seedCli.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-7OXXBUGQ.js.map +0 -1
- package/dist/chunk-VD5PS6WE.js.map +0 -1
- /package/dist/{http-CR2SEMK4.js.map → http-FVLGLWIO.js.map} +0 -0
- /package/dist/{http-SK2QESXJ.js.map → http-P24OJM7Z.js.map} +0 -0
- /package/dist/{replay-YSR7FD4I.js.map → replay-JJVAPZ6I.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -761,32 +761,6 @@ interface TokenUsage {
|
|
|
761
761
|
cached: number | null;
|
|
762
762
|
total: number | null;
|
|
763
763
|
}
|
|
764
|
-
interface TraceOutlineSpanError {
|
|
765
|
-
source: string;
|
|
766
|
-
error: string;
|
|
767
|
-
step?: string;
|
|
768
|
-
}
|
|
769
|
-
interface TraceOutlineSpan {
|
|
770
|
-
spanId: string;
|
|
771
|
-
name: string | null;
|
|
772
|
-
type: string;
|
|
773
|
-
traceFunctionKey: string | null;
|
|
774
|
-
durationMs: number | null;
|
|
775
|
-
tokens: TokenUsage | null;
|
|
776
|
-
model: string | null;
|
|
777
|
-
errors: TraceOutlineSpanError[] | null;
|
|
778
|
-
mocked: boolean;
|
|
779
|
-
children: TraceOutlineSpan[];
|
|
780
|
-
}
|
|
781
|
-
interface TraceOutline {
|
|
782
|
-
traceId: string;
|
|
783
|
-
name: string | null;
|
|
784
|
-
status: string;
|
|
785
|
-
traceFunctionKey: string | null;
|
|
786
|
-
durationMs: number | null;
|
|
787
|
-
spanCount: number;
|
|
788
|
-
spans: TraceOutlineSpan[];
|
|
789
|
-
}
|
|
790
764
|
/**
|
|
791
765
|
* Describes a single file edited as part of a code change.
|
|
792
766
|
*
|
|
@@ -909,8 +883,6 @@ interface CompleteReplayResponse {
|
|
|
909
883
|
* `ReplayItem.tokens`. Absent on servers that predate this field.
|
|
910
884
|
*/
|
|
911
885
|
tokens?: Record<string, TokenUsage | null>;
|
|
912
|
-
traceOutlines?: Record<string, TraceOutline>;
|
|
913
|
-
originalTraceOutlines?: Record<string, TraceOutline>;
|
|
914
886
|
/**
|
|
915
887
|
* Number of traces the server has persisted for this experiment at
|
|
916
888
|
* completion time. Lets the SDK distinguish "uploads failed" from
|
|
@@ -2298,8 +2270,6 @@ interface ReplayProgressItem {
|
|
|
2298
2270
|
model?: string | null;
|
|
2299
2271
|
dbSnapshotRef?: DbSnapshotRef | null;
|
|
2300
2272
|
dbBranchTimings?: DbBranchTimings | null;
|
|
2301
|
-
traceOutline?: TraceOutline | null;
|
|
2302
|
-
originalTraceOutline?: TraceOutline | null;
|
|
2303
2273
|
}
|
|
2304
2274
|
/**
|
|
2305
2275
|
* @deprecated Use {@link ReplayItemFinishProgress}. This legacy shape also
|
|
@@ -2455,8 +2425,6 @@ interface ReplayItem<T> {
|
|
|
2455
2425
|
* no snapshot ref, or against a server that predates timings.
|
|
2456
2426
|
*/
|
|
2457
2427
|
dbBranchTimings: DbBranchTimings | null;
|
|
2458
|
-
traceOutline: TraceOutline | null;
|
|
2459
|
-
originalTraceOutline: TraceOutline | null;
|
|
2460
2428
|
carriedOver?: boolean;
|
|
2461
2429
|
}
|
|
2462
2430
|
|
|
@@ -3882,7 +3850,7 @@ interface CommitRef {
|
|
|
3882
3850
|
/**
|
|
3883
3851
|
* SDK version from package.json (injected at build time)
|
|
3884
3852
|
*/
|
|
3885
|
-
declare const __version__ = "0.
|
|
3853
|
+
declare const __version__ = "0.62.0";
|
|
3886
3854
|
|
|
3887
3855
|
/**
|
|
3888
3856
|
* Constants for the Bitfab SDK.
|
|
@@ -4021,4 +3989,4 @@ declare function seedFromRegistry(registry: ReplayRegistry, pipeline: string, ca
|
|
|
4021
3989
|
run?: boolean;
|
|
4022
3990
|
}): Promise<SeedResult>;
|
|
4023
3991
|
|
|
4024
|
-
export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionVerdict, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, 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 GenerateAssertionsOptions, type GetGraderLabelsParams, type GraderLabel, type GraderLabelSource, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, 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 SaveDatasetParams, type SaveDatasetResult, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, 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
|
|
3992
|
+
export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionVerdict, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, 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 GenerateAssertionsOptions, type GetGraderLabelsParams, type GraderLabel, type GraderLabelSource, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, 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 SaveDatasetParams, type SaveDatasetResult, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, 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 TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, 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
|
@@ -761,32 +761,6 @@ interface TokenUsage {
|
|
|
761
761
|
cached: number | null;
|
|
762
762
|
total: number | null;
|
|
763
763
|
}
|
|
764
|
-
interface TraceOutlineSpanError {
|
|
765
|
-
source: string;
|
|
766
|
-
error: string;
|
|
767
|
-
step?: string;
|
|
768
|
-
}
|
|
769
|
-
interface TraceOutlineSpan {
|
|
770
|
-
spanId: string;
|
|
771
|
-
name: string | null;
|
|
772
|
-
type: string;
|
|
773
|
-
traceFunctionKey: string | null;
|
|
774
|
-
durationMs: number | null;
|
|
775
|
-
tokens: TokenUsage | null;
|
|
776
|
-
model: string | null;
|
|
777
|
-
errors: TraceOutlineSpanError[] | null;
|
|
778
|
-
mocked: boolean;
|
|
779
|
-
children: TraceOutlineSpan[];
|
|
780
|
-
}
|
|
781
|
-
interface TraceOutline {
|
|
782
|
-
traceId: string;
|
|
783
|
-
name: string | null;
|
|
784
|
-
status: string;
|
|
785
|
-
traceFunctionKey: string | null;
|
|
786
|
-
durationMs: number | null;
|
|
787
|
-
spanCount: number;
|
|
788
|
-
spans: TraceOutlineSpan[];
|
|
789
|
-
}
|
|
790
764
|
/**
|
|
791
765
|
* Describes a single file edited as part of a code change.
|
|
792
766
|
*
|
|
@@ -909,8 +883,6 @@ interface CompleteReplayResponse {
|
|
|
909
883
|
* `ReplayItem.tokens`. Absent on servers that predate this field.
|
|
910
884
|
*/
|
|
911
885
|
tokens?: Record<string, TokenUsage | null>;
|
|
912
|
-
traceOutlines?: Record<string, TraceOutline>;
|
|
913
|
-
originalTraceOutlines?: Record<string, TraceOutline>;
|
|
914
886
|
/**
|
|
915
887
|
* Number of traces the server has persisted for this experiment at
|
|
916
888
|
* completion time. Lets the SDK distinguish "uploads failed" from
|
|
@@ -2298,8 +2270,6 @@ interface ReplayProgressItem {
|
|
|
2298
2270
|
model?: string | null;
|
|
2299
2271
|
dbSnapshotRef?: DbSnapshotRef | null;
|
|
2300
2272
|
dbBranchTimings?: DbBranchTimings | null;
|
|
2301
|
-
traceOutline?: TraceOutline | null;
|
|
2302
|
-
originalTraceOutline?: TraceOutline | null;
|
|
2303
2273
|
}
|
|
2304
2274
|
/**
|
|
2305
2275
|
* @deprecated Use {@link ReplayItemFinishProgress}. This legacy shape also
|
|
@@ -2455,8 +2425,6 @@ interface ReplayItem<T> {
|
|
|
2455
2425
|
* no snapshot ref, or against a server that predates timings.
|
|
2456
2426
|
*/
|
|
2457
2427
|
dbBranchTimings: DbBranchTimings | null;
|
|
2458
|
-
traceOutline: TraceOutline | null;
|
|
2459
|
-
originalTraceOutline: TraceOutline | null;
|
|
2460
2428
|
carriedOver?: boolean;
|
|
2461
2429
|
}
|
|
2462
2430
|
|
|
@@ -3882,7 +3850,7 @@ interface CommitRef {
|
|
|
3882
3850
|
/**
|
|
3883
3851
|
* SDK version from package.json (injected at build time)
|
|
3884
3852
|
*/
|
|
3885
|
-
declare const __version__ = "0.
|
|
3853
|
+
declare const __version__ = "0.62.0";
|
|
3886
3854
|
|
|
3887
3855
|
/**
|
|
3888
3856
|
* Constants for the Bitfab SDK.
|
|
@@ -4021,4 +3989,4 @@ declare function seedFromRegistry(registry: ReplayRegistry, pipeline: string, ca
|
|
|
4021
3989
|
run?: boolean;
|
|
4022
3990
|
}): Promise<SeedResult>;
|
|
4023
3991
|
|
|
4024
|
-
export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionVerdict, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, 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 GenerateAssertionsOptions, type GetGraderLabelsParams, type GraderLabel, type GraderLabelSource, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, 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 SaveDatasetParams, type SaveDatasetResult, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, 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
|
|
3992
|
+
export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ApprovalFields, type ApprovalState, type Approver, type ArchiveAssertionsParams, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, type AssertionEvidenceParameter, type AssertionGeneration, AssertionGenerationError, type AssertionGenerationStatus, AssertionGenerationTimeoutError, type AssertionLabelEvidence, type AssertionVerdict, type Assignee, BITFAB_PROGRESS_PREFIX, type BamlExecutionResult, Bitfab, BitfabClaudeAgentHandler, type BitfabConfig, BitfabError, BitfabFunction, BitfabLangGraphCallbackHandler as BitfabLangChainCallbackHandler, BitfabLangGraphCallbackHandler, BitfabLangGraphIntegration, type BitfabLanguageModelMiddleware, BitfabOpenAIAgentHandler, BitfabOpenAITracingProcessor, BitfabRivetIntegration, BitfabVercelAiHandler, type CaptureSurface, type CaptureWhen, type CapturedSpan, 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 GenerateAssertionsOptions, type GetGraderLabelsParams, type GraderLabel, type GraderLabelSource, type GraderRerun, GraderRerunError, type GraderRerunProgress, type GraderRerunResult, type GraderRerunStatus, GraderRerunTimeoutError, GradersClient, HttpClient, type HumanLabelOutcome, type HumanLabelUpdate, type Justification, type JustificationSpan, type LabelAction, type LabelConfidence, type LabelOutcome, type LabelSource, type LabelStatus, type LabelTarget, type LabelUpdate, LabelsClient, type LangGraphIntegrationOptions, type ListDatasetsParams, MixedTracingError, type MockOverride, type MockOverrideCtx, type MockOverrideInput, type MockOverrideResolver, type MockStrategy, type MockValue, NO_MOCK_OVERRIDE, type NodeMatcher, type NodeMethodDecorator, type NodeOptions, type OrganizationMember, OrganizationMembersClient, type ProviderDefinition, type RemoveDatasetGradersResult, type RemoveDatasetTracesResult, 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 SaveDatasetParams, type SaveDatasetResult, type SeedCase, type SeedCaseOptions, type SeedResult, type SeedRunOptions, type SelectiveReplayDecision, type SelectiveReplayOptions, type SelectiveReplayReport, 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 TraceResponse, type TraceSearchFilters, type TraceSearchParams, type TraceSearchResult, 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
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
getCurrentTrace,
|
|
36
36
|
reseedFromRegistry,
|
|
37
37
|
seedFromRegistry
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-QMDATWZJ.js";
|
|
39
39
|
import "./chunk-K4XCWQBC.js";
|
|
40
40
|
import {
|
|
41
41
|
BITFAB_PROGRESS_PREFIX,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
ReplayError,
|
|
45
45
|
reportReplayProgress,
|
|
46
46
|
serializeReplayResult
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-5W6PO64F.js";
|
|
48
48
|
import {
|
|
49
49
|
BitfabError,
|
|
50
50
|
DEFAULT_SERVICE_URL,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
MixedTracingError,
|
|
53
53
|
__version__,
|
|
54
54
|
flushTraces
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-KYHIRSSK.js";
|
|
56
56
|
import "./chunk-BAOIRE5T.js";
|
|
57
57
|
export {
|
|
58
58
|
AssertionCategoriesClient,
|
package/dist/node.cjs
CHANGED
|
@@ -97,7 +97,7 @@ var __version__, __packageName__;
|
|
|
97
97
|
var init_version_generated = __esm({
|
|
98
98
|
"src/version.generated.ts"() {
|
|
99
99
|
"use strict";
|
|
100
|
-
__version__ = "0.
|
|
100
|
+
__version__ = "0.62.0";
|
|
101
101
|
__packageName__ = "bitfab";
|
|
102
102
|
}
|
|
103
103
|
});
|
|
@@ -4143,8 +4143,6 @@ function carriedOverReplayItem(finished) {
|
|
|
4143
4143
|
model: null,
|
|
4144
4144
|
dbSnapshotRef: null,
|
|
4145
4145
|
dbBranchTimings: null,
|
|
4146
|
-
traceOutline: null,
|
|
4147
|
-
originalTraceOutline: null,
|
|
4148
4146
|
carriedOver: true
|
|
4149
4147
|
};
|
|
4150
4148
|
}
|
|
@@ -4437,9 +4435,7 @@ async function processItem(httpClient, serverItem, fn, experimentId, mockStrateg
|
|
|
4437
4435
|
tokens: null,
|
|
4438
4436
|
model: serverItem.originalModel ?? serverItem.model ?? null,
|
|
4439
4437
|
dbSnapshotRef: dbSnapshotRef ?? null,
|
|
4440
|
-
dbBranchTimings: dbBranchTimings ?? null
|
|
4441
|
-
traceOutline: null,
|
|
4442
|
-
originalTraceOutline: null
|
|
4438
|
+
dbBranchTimings: dbBranchTimings ?? null
|
|
4443
4439
|
};
|
|
4444
4440
|
}
|
|
4445
4441
|
try {
|
|
@@ -4527,9 +4523,7 @@ async function processItem(httpClient, serverItem, fn, experimentId, mockStrateg
|
|
|
4527
4523
|
tokens: null,
|
|
4528
4524
|
model: originalModel,
|
|
4529
4525
|
dbSnapshotRef: dbSnapshotRef ?? null,
|
|
4530
|
-
dbBranchTimings: dbBranchTimings ?? null
|
|
4531
|
-
traceOutline: null,
|
|
4532
|
-
originalTraceOutline: null
|
|
4526
|
+
dbBranchTimings: dbBranchTimings ?? null
|
|
4533
4527
|
};
|
|
4534
4528
|
}
|
|
4535
4529
|
async function waitForReplayPersistence(httpClient, experimentId, replayedTraceIds) {
|
|
@@ -4572,6 +4566,7 @@ async function waitForReplayPersistence(httpClient, experimentId, replayedTraceI
|
|
|
4572
4566
|
expectedSpanCounts
|
|
4573
4567
|
);
|
|
4574
4568
|
const ready = status.traceIds ?? {};
|
|
4569
|
+
Object.assign(readBackTraceIds, ready);
|
|
4575
4570
|
missing = Object.keys(expectedSpanCounts).filter(
|
|
4576
4571
|
(traceId) => ready[traceId] === void 0
|
|
4577
4572
|
).length;
|
|
@@ -4896,9 +4891,7 @@ async function runReplaySession(httpClient, fn, session, fullExperimentUrl, maxC
|
|
|
4896
4891
|
tokens: item.tokens,
|
|
4897
4892
|
model: item.model,
|
|
4898
4893
|
dbSnapshotRef: item.dbSnapshotRef,
|
|
4899
|
-
dbBranchTimings: item.dbBranchTimings
|
|
4900
|
-
traceOutline: item.traceOutline,
|
|
4901
|
-
originalTraceOutline: item.originalTraceOutline
|
|
4894
|
+
dbBranchTimings: item.dbBranchTimings
|
|
4902
4895
|
}
|
|
4903
4896
|
});
|
|
4904
4897
|
} catch {
|
|
@@ -4993,9 +4986,7 @@ async function runReplaySession(httpClient, fn, session, fullExperimentUrl, maxC
|
|
|
4993
4986
|
}
|
|
4994
4987
|
if (mapped !== void 0) {
|
|
4995
4988
|
item.tokens = replayTokens?.[mapped] ?? null;
|
|
4996
|
-
item.traceOutline = completeResult.traceOutlines?.[mapped] ?? null;
|
|
4997
4989
|
}
|
|
4998
|
-
item.originalTraceOutline = completeResult.originalTraceOutlines?.[item.originalTraceId] ?? null;
|
|
4999
4990
|
}
|
|
5000
4991
|
if (completedCount > 0 && missing.length === completedCount) {
|
|
5001
4992
|
const serverCount = completeResult.traceCount !== void 0 ? ` The server persisted ${completeResult.traceCount} trace(s) for this run.` : "";
|