bitfab 0.53.5 → 0.54.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/{chunk-HIWCN36R.js → chunk-7F3PBLYC.js} +3 -103
- package/dist/chunk-7F3PBLYC.js.map +1 -0
- package/dist/{chunk-JMZSZD22.js → chunk-AK3B74ER.js} +39 -7
- package/dist/chunk-AK3B74ER.js.map +1 -0
- package/dist/{chunk-I6HABUAU.js → chunk-IE25TPKY.js} +194 -2
- package/dist/chunk-IE25TPKY.js.map +1 -0
- package/dist/{chunk-7UOWGJFK.js → chunk-QLW7IYXC.js} +3 -3
- package/dist/{chunk-A67P4IPJ.js → chunk-WNTG7YVZ.js} +193 -2
- package/dist/chunk-WNTG7YVZ.js.map +1 -0
- package/dist/{http-7G364U2F.js → http-USFHDZ7U.js} +2 -2
- package/dist/{http-VZG3GUGE.js → http-WK52XY7T.js} +2 -2
- package/dist/index.cjs +258 -126
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +38 -4
- package/dist/index.d.ts +38 -4
- package/dist/index.js +5 -3
- package/dist/node.cjs +258 -126
- 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-2PZ7OOTJ.js → replay-IKRILVBR.js} +3 -3
- package/dist/replayCli.js +2 -2
- package/dist/seedCli.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-A67P4IPJ.js.map +0 -1
- package/dist/chunk-HIWCN36R.js.map +0 -1
- package/dist/chunk-I6HABUAU.js.map +0 -1
- package/dist/chunk-JMZSZD22.js.map +0 -1
- /package/dist/{chunk-7UOWGJFK.js.map → chunk-QLW7IYXC.js.map} +0 -0
- /package/dist/{http-7G364U2F.js.map → http-USFHDZ7U.js.map} +0 -0
- /package/dist/{http-VZG3GUGE.js.map → http-WK52XY7T.js.map} +0 -0
- /package/dist/{replay-2PZ7OOTJ.js.map → replay-IKRILVBR.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -507,7 +507,7 @@ declare class HttpClient {
|
|
|
507
507
|
*/
|
|
508
508
|
request<T>(endpoint: string, payload: Record<string, unknown>, options?: {
|
|
509
509
|
timeout?: number;
|
|
510
|
-
method?: "POST" | "PATCH" | "PUT";
|
|
510
|
+
method?: "POST" | "PATCH" | "PUT" | "DELETE";
|
|
511
511
|
}): Promise<T>;
|
|
512
512
|
/**
|
|
513
513
|
* POST an already-encoded body. The span transport encodes its own batches,
|
|
@@ -516,7 +516,7 @@ declare class HttpClient {
|
|
|
516
516
|
*/
|
|
517
517
|
sendEncoded<T>(endpoint: string, body: string, options?: {
|
|
518
518
|
timeout?: number;
|
|
519
|
-
method?: "POST" | "PATCH" | "PUT";
|
|
519
|
+
method?: "POST" | "PATCH" | "PUT" | "DELETE";
|
|
520
520
|
}): Promise<T>;
|
|
521
521
|
private sendPrepared;
|
|
522
522
|
/**
|
|
@@ -799,6 +799,35 @@ interface SpanTreeResponse {
|
|
|
799
799
|
root: SpanTreeNode;
|
|
800
800
|
}
|
|
801
801
|
|
|
802
|
+
type AssertionCategorySummary = {
|
|
803
|
+
id: string;
|
|
804
|
+
title: string;
|
|
805
|
+
description: string;
|
|
806
|
+
};
|
|
807
|
+
type AssertionCategory = AssertionCategorySummary & {
|
|
808
|
+
organizationId: string;
|
|
809
|
+
createdAt: string;
|
|
810
|
+
updatedAt: string;
|
|
811
|
+
};
|
|
812
|
+
type SaveAssertionCategoryParams = {
|
|
813
|
+
id?: string;
|
|
814
|
+
title: string;
|
|
815
|
+
description?: string;
|
|
816
|
+
};
|
|
817
|
+
/** Organization-scoped groupings for assertions. */
|
|
818
|
+
declare class AssertionCategoriesClient {
|
|
819
|
+
private readonly httpClient;
|
|
820
|
+
constructor(httpClient: HttpClient);
|
|
821
|
+
/** Create a category, or update it by ID. Omitted descriptions are preserved. */
|
|
822
|
+
save(params: SaveAssertionCategoryParams): Promise<AssertionCategory>;
|
|
823
|
+
/** Read one category in the API key's organization. */
|
|
824
|
+
get(id: string): Promise<AssertionCategory>;
|
|
825
|
+
/** List the organization's categories ordered by title. */
|
|
826
|
+
list(): Promise<AssertionCategory[]>;
|
|
827
|
+
/** Delete a category and clear its assignments, preserving assertions and verdicts. */
|
|
828
|
+
delete(id: string): Promise<AssertionCategory>;
|
|
829
|
+
}
|
|
830
|
+
|
|
802
831
|
type TraceTargetOccurrence = "first" | "last" | number;
|
|
803
832
|
type TraceTarget = {
|
|
804
833
|
kind: "output";
|
|
@@ -812,6 +841,8 @@ type TraceAssertion = {
|
|
|
812
841
|
id: string;
|
|
813
842
|
traceId: string;
|
|
814
843
|
assertion: string;
|
|
844
|
+
category_assertion_id: string | null;
|
|
845
|
+
category: AssertionCategorySummary | null;
|
|
815
846
|
passCriteria: string | null;
|
|
816
847
|
failCriteria: string | null;
|
|
817
848
|
targetOnEvaluatedTrace: TraceTarget | null;
|
|
@@ -820,6 +851,8 @@ type TraceAssertion = {
|
|
|
820
851
|
updatedAt: string;
|
|
821
852
|
};
|
|
822
853
|
type SaveAssertion = {
|
|
854
|
+
/** Omit to preserve the category, or pass null to clear it. */
|
|
855
|
+
category_assertion_id?: string | null;
|
|
823
856
|
id?: string;
|
|
824
857
|
assertion: string;
|
|
825
858
|
passCriteria?: string | null;
|
|
@@ -2685,6 +2718,7 @@ declare class Bitfab {
|
|
|
2685
2718
|
private readonly httpClient;
|
|
2686
2719
|
/** Dataset operations for the authenticated organization. */
|
|
2687
2720
|
readonly datasets: DatasetsClient;
|
|
2721
|
+
readonly assertionCategories: AssertionCategoriesClient;
|
|
2688
2722
|
readonly traces: TracesClient;
|
|
2689
2723
|
readonly labels: LabelsClient;
|
|
2690
2724
|
readonly graders: GradersClient;
|
|
@@ -3344,7 +3378,7 @@ interface CommitRef {
|
|
|
3344
3378
|
/**
|
|
3345
3379
|
* SDK version from package.json (injected at build time)
|
|
3346
3380
|
*/
|
|
3347
|
-
declare const __version__ = "0.
|
|
3381
|
+
declare const __version__ = "0.54.1";
|
|
3348
3382
|
|
|
3349
3383
|
/**
|
|
3350
3384
|
* Constants for the Bitfab SDK.
|
|
@@ -3483,4 +3517,4 @@ declare function seedFromRegistry(registry: ReplayRegistry, pipeline: string, ca
|
|
|
3483
3517
|
run?: boolean;
|
|
3484
3518
|
}): Promise<SeedResult>;
|
|
3485
3519
|
|
|
3486
|
-
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 };
|
|
3520
|
+
export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ArchiveAssertionsParams, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, 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 SaveAssertionCategoryParams, 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
|
@@ -507,7 +507,7 @@ declare class HttpClient {
|
|
|
507
507
|
*/
|
|
508
508
|
request<T>(endpoint: string, payload: Record<string, unknown>, options?: {
|
|
509
509
|
timeout?: number;
|
|
510
|
-
method?: "POST" | "PATCH" | "PUT";
|
|
510
|
+
method?: "POST" | "PATCH" | "PUT" | "DELETE";
|
|
511
511
|
}): Promise<T>;
|
|
512
512
|
/**
|
|
513
513
|
* POST an already-encoded body. The span transport encodes its own batches,
|
|
@@ -516,7 +516,7 @@ declare class HttpClient {
|
|
|
516
516
|
*/
|
|
517
517
|
sendEncoded<T>(endpoint: string, body: string, options?: {
|
|
518
518
|
timeout?: number;
|
|
519
|
-
method?: "POST" | "PATCH" | "PUT";
|
|
519
|
+
method?: "POST" | "PATCH" | "PUT" | "DELETE";
|
|
520
520
|
}): Promise<T>;
|
|
521
521
|
private sendPrepared;
|
|
522
522
|
/**
|
|
@@ -799,6 +799,35 @@ interface SpanTreeResponse {
|
|
|
799
799
|
root: SpanTreeNode;
|
|
800
800
|
}
|
|
801
801
|
|
|
802
|
+
type AssertionCategorySummary = {
|
|
803
|
+
id: string;
|
|
804
|
+
title: string;
|
|
805
|
+
description: string;
|
|
806
|
+
};
|
|
807
|
+
type AssertionCategory = AssertionCategorySummary & {
|
|
808
|
+
organizationId: string;
|
|
809
|
+
createdAt: string;
|
|
810
|
+
updatedAt: string;
|
|
811
|
+
};
|
|
812
|
+
type SaveAssertionCategoryParams = {
|
|
813
|
+
id?: string;
|
|
814
|
+
title: string;
|
|
815
|
+
description?: string;
|
|
816
|
+
};
|
|
817
|
+
/** Organization-scoped groupings for assertions. */
|
|
818
|
+
declare class AssertionCategoriesClient {
|
|
819
|
+
private readonly httpClient;
|
|
820
|
+
constructor(httpClient: HttpClient);
|
|
821
|
+
/** Create a category, or update it by ID. Omitted descriptions are preserved. */
|
|
822
|
+
save(params: SaveAssertionCategoryParams): Promise<AssertionCategory>;
|
|
823
|
+
/** Read one category in the API key's organization. */
|
|
824
|
+
get(id: string): Promise<AssertionCategory>;
|
|
825
|
+
/** List the organization's categories ordered by title. */
|
|
826
|
+
list(): Promise<AssertionCategory[]>;
|
|
827
|
+
/** Delete a category and clear its assignments, preserving assertions and verdicts. */
|
|
828
|
+
delete(id: string): Promise<AssertionCategory>;
|
|
829
|
+
}
|
|
830
|
+
|
|
802
831
|
type TraceTargetOccurrence = "first" | "last" | number;
|
|
803
832
|
type TraceTarget = {
|
|
804
833
|
kind: "output";
|
|
@@ -812,6 +841,8 @@ type TraceAssertion = {
|
|
|
812
841
|
id: string;
|
|
813
842
|
traceId: string;
|
|
814
843
|
assertion: string;
|
|
844
|
+
category_assertion_id: string | null;
|
|
845
|
+
category: AssertionCategorySummary | null;
|
|
815
846
|
passCriteria: string | null;
|
|
816
847
|
failCriteria: string | null;
|
|
817
848
|
targetOnEvaluatedTrace: TraceTarget | null;
|
|
@@ -820,6 +851,8 @@ type TraceAssertion = {
|
|
|
820
851
|
updatedAt: string;
|
|
821
852
|
};
|
|
822
853
|
type SaveAssertion = {
|
|
854
|
+
/** Omit to preserve the category, or pass null to clear it. */
|
|
855
|
+
category_assertion_id?: string | null;
|
|
823
856
|
id?: string;
|
|
824
857
|
assertion: string;
|
|
825
858
|
passCriteria?: string | null;
|
|
@@ -2685,6 +2718,7 @@ declare class Bitfab {
|
|
|
2685
2718
|
private readonly httpClient;
|
|
2686
2719
|
/** Dataset operations for the authenticated organization. */
|
|
2687
2720
|
readonly datasets: DatasetsClient;
|
|
2721
|
+
readonly assertionCategories: AssertionCategoriesClient;
|
|
2688
2722
|
readonly traces: TracesClient;
|
|
2689
2723
|
readonly labels: LabelsClient;
|
|
2690
2724
|
readonly graders: GradersClient;
|
|
@@ -3344,7 +3378,7 @@ interface CommitRef {
|
|
|
3344
3378
|
/**
|
|
3345
3379
|
* SDK version from package.json (injected at build time)
|
|
3346
3380
|
*/
|
|
3347
|
-
declare const __version__ = "0.
|
|
3381
|
+
declare const __version__ = "0.54.1";
|
|
3348
3382
|
|
|
3349
3383
|
/**
|
|
3350
3384
|
* Constants for the Bitfab SDK.
|
|
@@ -3483,4 +3517,4 @@ declare function seedFromRegistry(registry: ReplayRegistry, pipeline: string, ca
|
|
|
3483
3517
|
run?: boolean;
|
|
3484
3518
|
}): Promise<SeedResult>;
|
|
3485
3519
|
|
|
3486
|
-
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 };
|
|
3520
|
+
export { type ActiveSpanContext, type AdaptContext, type AdaptInputsFn, type AddDatasetGradersResult, type AddDatasetTracesResult, type AllowedEnvVars, type ArchiveAssertionsParams, AssertionCategoriesClient, type AssertionCategory, type AssertionCategorySummary, 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 SaveAssertionCategoryParams, 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
|
@@ -8,6 +8,7 @@ if (typeof globalThis.__bitfab_deprecation_warned === "undefined") {
|
|
|
8
8
|
);
|
|
9
9
|
}
|
|
10
10
|
import {
|
|
11
|
+
AssertionCategoriesClient,
|
|
11
12
|
Bitfab,
|
|
12
13
|
BitfabClaudeAgentHandler,
|
|
13
14
|
BitfabFunction,
|
|
@@ -28,7 +29,7 @@ import {
|
|
|
28
29
|
getCurrentTrace,
|
|
29
30
|
reseedFromRegistry,
|
|
30
31
|
seedFromRegistry
|
|
31
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-AK3B74ER.js";
|
|
32
33
|
import "./chunk-EGWJYCNT.js";
|
|
33
34
|
import {
|
|
34
35
|
BITFAB_PROGRESS_PREFIX,
|
|
@@ -37,7 +38,7 @@ import {
|
|
|
37
38
|
ReplayError,
|
|
38
39
|
reportReplayProgress,
|
|
39
40
|
serializeReplayResult
|
|
40
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-7F3PBLYC.js";
|
|
41
42
|
import {
|
|
42
43
|
BitfabError,
|
|
43
44
|
DEFAULT_SERVICE_URL,
|
|
@@ -45,9 +46,10 @@ import {
|
|
|
45
46
|
MixedTracingError,
|
|
46
47
|
__version__,
|
|
47
48
|
flushTraces
|
|
48
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-IE25TPKY.js";
|
|
49
50
|
import "./chunk-VCRFFCLY.js";
|
|
50
51
|
export {
|
|
52
|
+
AssertionCategoriesClient,
|
|
51
53
|
BITFAB_PROGRESS_PREFIX,
|
|
52
54
|
Bitfab,
|
|
53
55
|
BitfabClaudeAgentHandler,
|